Skip to content

Commit 7fd7951

Browse files
committed
also update LTS_JENKINS_VERSION in tests
1 parent 65a1cc1 commit 7fd7951

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

updatecli/updatecli.d/jenkins-version-simulated-lts.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ conditions:
4343
image: jenkins/jenkins
4444

4545
targets:
46-
updateJenkinsVersion:
46+
updateJenkinsVersionInJenkinsfile:
4747
name: Update default value of simulated LTS JENKINS_VERSION in Jenkinsfile
4848
kind: file
4949
sourceid: latestVersion
@@ -53,6 +53,16 @@ targets:
5353
'JENKINS_VERSION=(.*)'
5454
content: >-
5555
'JENKINS_VERSION={{ source "latestVersion" }}'
56+
updateJenkinsVersionInTests:
57+
name: Update default value of LTS_JENKINS_VERSION in tests
58+
kind: file
59+
sourceid: latestVersion
60+
spec:
61+
file: tests/bake.bats
62+
matchpattern: >-
63+
LTS_JENKINS_VERSION=(.*)
64+
content: >-
65+
LTS_JENKINS_VERSION="{{ source "latestVersion" }}"
5666
updateWarSha:
5767
name: Update default value of simulated LTS WAR_SHA in Jenkinsfile
5868
kind: file

0 commit comments

Comments
 (0)