From 58954fc37a9db69b87f9efb1f0a0b352340d6b7e Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Sun, 1 Sep 2019 10:57:25 +0200 Subject: xci: Ensure the flavor is captured in all cases Change-Id: I48ee615325002a2d3687d336b9a83a0e5637cee7 Signed-off-by: Fatih Degirmenci --- jjb/xci/xci-set-scenario.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'jjb/xci') 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 -- cgit 1.2.3-korg