Write change.properties file for scenario-verify jobs
[infra/cicd.git] / jjb / cloud-infra / determine-scenario.sh
index e9d7649913902f48edd0db2a01593168b676d4c7..d3ef11f7850b0f2a881f4f49e9268fef9bd61570 100644 (file)
@@ -71,5 +71,17 @@ export PROJECT_GIT_URL=$GIT_BASE_HTTPS/$GERRIT_PROJECT
 override_installer_scenario
 
 echo "Writing change metadata to $WORKSPACE/change.properties"
+cat << EOF > $WORKSPACE/change.properties
+PROJECT_GIT_URL=$GIT_BASE_HTTPS/$GERRIT_PROJECT
+DEPLOY_SCENARIO=$DEPLOY_SCENARIO
+INSTALLER_TYPE=$INSTALLER_TYPE
+GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
+GERRIT_REFSPEC=$GERRIT_REFSPEC=
+EOF
+
+echo "Content of change.properties"
+echo "-------------------------------------------------------------------------"
+cat $WORKSPACE/change.properties
+echo "-------------------------------------------------------------------------"
 
 # vim: set ts=2 sw=2 expandtab: