X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fxci%2Fxci-set-scenario.sh;h=ccea16f870c01d39e0d9e2ae9a094fe19e6e31a8;hb=58954fc37a9db69b87f9efb1f0a0b352340d6b7e;hp=237eb319a3649ccf90e1cbbbe3544554eea5aad3;hpb=417d91d8d6de7b0887759b5a17a0bafa5aed7cbe;p=releng.git diff --git a/jjb/xci/xci-set-scenario.sh b/jjb/xci/xci-set-scenario.sh index 237eb319a..ccea16f87 100755 --- a/jjb/xci/xci-set-scenario.sh +++ b/jjb/xci/xci-set-scenario.sh @@ -243,12 +243,15 @@ esac # save the installer and scenario names into java properties file # so they can be injected to downstream jobs via envInject echo "Recording the installer '$INSTALLER_TYPE' and scenario '${DEPLOY_SCENARIO[0]}' and SHAs for downstream jobs" -echo "INSTALLER_TYPE=$INSTALLER_TYPE" > $WORK_DIRECTORY/scenario.properties +echo "INSTALLER_TYPE=$INSTALLER_TYPE" >> $WORK_DIRECTORY/scenario.properties echo "DEPLOY_SCENARIO=$DEPLOY_SCENARIO" >> $WORK_DIRECTORY/scenario.properties echo "XCI_SHA=$XCI_SHA" >> $WORK_DIRECTORY/scenario.properties echo "SCENARIO_SHA=$SCENARIO_SHA" >> $WORK_DIRECTORY/scenario.properties echo "PROJECT_NAME=$GERRIT_PROJECT" >> $WORK_DIRECTORY/scenario.properties +# log scenario.properties to console to ease the troubleshooting when needed +log_scenario_properties + # skip scenario support check if the job is promotion job if [[ "$JOB_NAME" =~ (os|k8) ]]; then exit 0