File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,23 @@ cd "$(dirname "$0")"
88# releases, ideally implemented in the Makefile. Then both this repository and
99# jenkins-infra/release should be refactored to consume the new functionality.
1010
11+ # Harcoding a safe Weekly version to 2.541 in this stable-2.541 branch for 2.541 LTS as 2.545 doesn't currently pass tests
12+ safeWeeklyVersion=" 2.541"
13+
1114if [[ ! -f " $WAR " ]]; then
12- # jv utilizes the JENKINS_VERSION environment variable which can be the line (latest/weekly/lts/stable) or an exact version
13- jv download
15+ # # jv utilizes the JENKINS_VERSION environment variable which can be the line (latest/weekly/lts/stable) or an exact version
16+ # jv download --version-identifier "${jenkinsVersion}"
17+
18+ # Using hardcoded safe version for this stable branch
19+ jv download --version-identifier " ${safeWeeklyVersion} "
1420fi
1521
1622if [[ ! -f " ${WAR} .asc" ]]; then
17- # jv utilizes the JENKINS_VERSION environment variable which can be the line (latest/weekly/lts/stable) or an exact version
18- jenkinsVersion=" $( jv get) "
23+ # # jv utilizes the JENKINS_VERSION environment variable which can be the line (latest/weekly/lts/stable) or an exact version
24+ # jenkinsVersion="$(jv get)"
25+
26+ # Using hardcoded safe version for this stable branch
27+ jenkinsVersion=" ${safeWeeklyVersion} "
1928
2029 # Download signature from Artifactory (signed by Maven during the release process)
2130 # TODO: switch to get.jenkins.io once https://github.com/jenkins-infra/helpdesk/issues/4055 is finished
You can’t perform that action at this time.
0 commit comments