Skip to content

Commit 5f2a9b3

Browse files
committed
hotfix(backport): hardcode safe weekly version 2.541 instead of retrieving latest weekly 2.545
Molecule tests are currently failing on latest weekly 2.545 while they passed on the previous 2.544 one. Using the LTS base version for this backport.
1 parent 435cc6f commit 5f2a9b3

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

prep.sh

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff 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+
1114
if [[ ! -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}"
1420
fi
1521

1622
if [[ ! -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

0 commit comments

Comments
 (0)