Skip to content

Commit a32ff1c

Browse files
committed
make github org to get jetty sources configurable
Signed-off-by: Olivier Lamy <[email protected]>
1 parent 374997f commit a32ff1c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Jenkinsfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ pipeline {
3030
string( defaultValue: 'jetty-12.1.x', description: 'GIT branch name to build Jetty (jetty-12.0.x)',
3131
name: 'JETTY_BRANCH' )
3232

33+
string( defaultValue: 'jetty', description: 'GitHub org to clone Jetty from (jetty)',
34+
name: 'JETTY_ORG' )
35+
3336
string( defaultValue: 'SNAPSHOT', description: 'Jetty Version',
3437
name: 'JETTY_VERSION' )
3538

@@ -48,7 +51,7 @@ pipeline {
4851
checkout([$class: 'GitSCM',
4952
branches: [[name: "*/$JETTY_BRANCH"]],
5053
extensions: [[$class: 'CloneOption', depth: 1, noTags: true, shallow: true, reference: "/home/jenkins/jetty.project.git"]],
51-
userRemoteConfigs: [[url: 'https://github.com/eclipse/jetty.project.git']]])
54+
userRemoteConfigs: [[url: "https://github.com/$JETTY_ORG/jetty.project.git"]]])
5255
timeout(time: 45, unit: 'MINUTES') {
5356
withEnv(["JAVA_HOME=${tool "$JDKBUILD"}",
5457
"PATH+MAVEN=${env.JAVA_HOME}/bin:${tool 'maven3'}/bin",

0 commit comments

Comments
 (0)