Skip to content

Commit

Permalink
Fix conditional #89 (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
russelltaga authored Jul 21, 2021
1 parent f8e3773 commit 78c2d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/trigger-pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ PARAM_BRANCH=$(printf '%s\n' "${!PARAM_BRANCH_ENV_VAR}")
PARAM_TAG=$(printf '%s\n' "${!PARAM_TAG_ENV_VAR}")

if [[ "$SKIP_TRIGGER" == "0" || "$SKIP_TRIGGER" == "false" ]]; then
if [[ "$PARAM_BRANCH_ENV_VAR" != "" ]]; then
if [[ "$PARAM_TAG" == "" ]]; then
/tmp/swissknife/trigger_pipeline.sh "$VCS_TYPE" "$PARAM_USER" "$PARAM_REPO" "$PARAM_BRANCH" "$CUSTOM_PARAMS"
else
/tmp/swissknife/trigger_pipeline.sh "$VCS_TYPE" "$PARAM_USER" "$PARAM_REPO" -t "$PARAM_TAG" "$CUSTOM_PARAMS"
Expand Down

0 comments on commit 78c2d5d

Please sign in to comment.