Skip to content

Commit

Permalink
CCS-4 JIRA evidence based on branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
carmithersh committed Feb 10, 2025
1 parent 1a69097 commit 0acd0f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/jira-evidence-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ jobs:
if [[ $jira_id =~ ^[A-Z]+-[0-9]+$ ]]; then
echo "A valid JIRA ID was found in branch name: $jira_id"
set +e
./examples/jira-transition-example/bin/jira-transition-checker-linux-amd64 --failOnMissingTransition "Done" $jira_id > predicate.json
./examples/jira-transition-example/bin/jira-transition-checker-linux-amd64 "Done" $jira_id > predicate.json
# add --failOnMissingTransition to fail the build if the JIRA does not pass the transition check
EXIT_CODE=$?
set -e
# create evidence only if the jira transition checker was successful
Expand Down

0 comments on commit 0acd0f2

Please sign in to comment.