Skip to content

Commit

Permalink
clarifying constants used for job result files
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed May 6, 2024
1 parent 1ceab6f commit d3b211c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/job_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,14 @@

# JWD/_bot_jobJOBID.result
JOB_RESULT_SECTION = "RESULT"
# constants representing settings
JOB_RESULT_ARTEFACTS = "artefacts"
JOB_RESULT_COMMENT_DESCRIPTION = "comment_description"
JOB_RESULT_FAILURE = "FAILURE"
JOB_RESULT_STATUS = "status"
# constants representing values for JOB_RESULT_STATUS (the values of these
# constants need to correspond to what the `bot/check-build.sh` script uses when
# writing the _bot_jobJOBID.result file)
JOB_RESULT_FAILURE = "FAILURE"
JOB_RESULT_SUCCESS = "SUCCESS"

# JWD/_bot_jobJOBID.test
Expand Down

0 comments on commit d3b211c

Please sign in to comment.