File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ set -euo pipefail
27
27
JDKVERSION=" $1 "
28
28
ADOPTIUM_REPO=${2:- " https://github.com/adoptium/$JDKVERSION .git" }
29
29
BRANCH=${3:- " master" }
30
+ SOLARIS=${4:- " normal" }
30
31
31
32
# Since we have "jdk8u" in the code, we need to create another lever of "workspace"
32
33
SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
87
88
echo " Found tag: ${scmReference} "
88
89
# write into properties file for release pipeline to get input from
89
90
# existence of this file will be used in jenkins job as if should continue trigger logic
90
- echo scmReference=$scmReference > ${SCRIPT_DIR} /properties
91
+ if [[ " ${SOLARIS} " == " solaris" ]]; then
92
+ echo SCM_REF=$scmReference > ${SCRIPT_DIR} /properties
93
+ else
94
+ echo scmReference=$scmReference > ${SCRIPT_DIR} /properties
95
+ fi
91
96
# also write into a tracking file which can avoid mulitple triggering to release pipeline
92
97
echo previousSCM=$scmReference > ${WORKSPACE} /tracking
93
98
break # should continue trigger logic
You can’t perform that action at this time.
0 commit comments