-
-
Save KyMidd/57005a0d74edb2c9fee5feac59986a4d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If AUTOLINK_REFERENCES_TO_BUILD_LENGTH is 0, then all auto-link references already exist | |
if [[ $AUTOLINK_REFERENCES_TO_BUILD_LENGTH -eq 0 ]]; then | |
echo "ℹ️ All $AUTOLINK_JIRA_PROJECT_KEYS_LENGTH Jira auto-link references already exist, skipping" | |
# If there are failures, print error message | |
elif [[ $CREATE_AUTOLINK_REFERENCE_FAILURES_LENGTH -gt 0 ]]; then | |
echo "ℹ️ $CREATE_AUTOLINK_REFERENCE_SUCCESSES_LENGTH/$AUTOLINK_REFERENCES_TO_BUILD_LENGTH auto-link references created, but some failures ($CREATE_AUTOLINK_REFERENCE_FAILURES_LENGTH/$AUTOLINK_JIRA_PROJECT_KEYS_LENGTH), please investigate" | |
# If there are no failures, print success message | |
else | |
echo "💥 Successfully created $CREATE_AUTOLINK_REFERENCE_SUCCESSES_LENGTH auto-link reference for all $AUTOLINK_JIRA_PROJECT_KEYS_LENGTH configured Jira project keys" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment