X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fcloud-infra%2Fdetermine-scenario.sh;h=14833b3e4c2d43e8145887d2b904fb78ae4b860c;hb=b2205c4e7fafbadc724db1da0c2c7c1e58370e9c;hp=10fea5706dc96e1aca070641bb6b2032c3ee96e2;hpb=8f980959f3a4cb421e80cb9d876cdb9c39285150;p=infra%2Fcicd.git diff --git a/jjb/cloud-infra/determine-scenario.sh b/jjb/cloud-infra/determine-scenario.sh index 10fea570..14833b3e 100644 --- a/jjb/cloud-infra/determine-scenario.sh +++ b/jjb/cloud-infra/determine-scenario.sh @@ -47,7 +47,9 @@ function override_installer_scenario() { export PROVISIONER_TYPE=$(echo "$COMMIT_MESSAGE" | grep '^provisioner-type:' | cut -d":" -f2 | sed 's/\s*//g') else # default is almost always bifrost - export PROVISIONER_TYPE=bifrost + if [[ "$PROVISIONER_TYPE" == "" ]]; then + export PROVISIONER_TYPE=bifrost + fi fi if [[ "$COMMIT_MESSAGE" =~ "deploy-scenario:" && "$COMMIT_MESSAGE" =~ "installer-type:" ]]; then