Skip to content

Commit 5cf746c

Browse files
committed
Test JGit servlet-4 against Gerrit stable-3.13
The servlet-4 work in JGit now targets Gerrit 3.13 rather than 3.12. Update the Jenkins shared pipeline so validation runs against the new stable branch, keeping CI aligned with the intended integration target. This ensures the servlet-4 branch is continuously built and tested with Gerrit 3.13 (and master), catching incompatibilities earlier and keeping the validation matrix current with the upcoming release [1]. [1] https://www.gerritcodereview.com/2025-09-17-gerrit-3.13-release-plan.html Change-Id: I7bcd8e0624f5952409faa54963f790647f9613de
1 parent 9f895fd commit 5cf746c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

vars/gerritJGitServlet4Pipeline.groovy

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// limitations under the License.
1616

1717
/**
18-
* Declarative pipeline for building and testing JGit servlet-4 branch against Gerrit stable-3.12 and Gerrit master.
18+
* Declarative pipeline for building and testing JGit servlet-4 branch against Gerrit stable-3.13 and Gerrit master.
1919
* Parameters: None
2020
* Usage in a Jenkinsfile:
2121
* gerritJGitServlet4Pipeline()
@@ -64,15 +64,15 @@ def call(Map cfg = [:]) {
6464
}
6565
}
6666

67-
stage('Checkout Gerrit stable-3.12') {
67+
stage('Checkout Gerrit stable-3.13') {
6868
steps {
6969
sh '''
70-
git clone -b stable-3.12 --recursive https://gerrit.googlesource.com/gerrit
70+
git clone -b stable-3.13 --recursive https://gerrit.googlesource.com/gerrit
7171
'''
7272
}
7373
}
7474

75-
stage('Build Gerrit stable-3.12') {
75+
stage('Build Gerrit stable-3.13') {
7676
steps {
7777
script {
7878
def jgitSourceDir = "${env.WORKSPACE}/jgit"
@@ -81,7 +81,7 @@ def call(Map cfg = [:]) {
8181

8282
sh """
8383
echo "${jgitSourceDir} -> ${jgitTargetDir}"
84-
mv ${jgitTargetDir} /tmp/jgit-3.12
84+
mv ${jgitTargetDir} /tmp/jgit-3.13
8585
ln -sfn ${jgitSourceDir} ${jgitTargetDir}
8686
"""
8787

@@ -94,12 +94,12 @@ def call(Map cfg = [:]) {
9494
}
9595
}
9696
}
97-
stage('Test Gerrit stable-3.12') {
97+
stage('Test Gerrit stable-3.13') {
9898
steps {
9999
dir('gerrit') {
100100
sh '''
101101
. set-java.sh 21
102-
echo "running gerrit stable-3.12 tests..."
102+
echo "running gerrit stable-3.13 tests..."
103103
bazelisk test \
104104
--test_tag_filters=-flaky \
105105
--flaky_test_attempts 3 \

0 commit comments

Comments
 (0)