File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -98,14 +98,16 @@ ENVIRONMENT_EOF
98
98
}
99
99
100
100
def buildDriver (jabbaVersion ) {
101
- withEnv([" BUILD_JABBA_VERSION=${ jabbaVersion} " ]) {
102
- sh label : ' Build driver' , script : ''' #!/bin/bash -le
103
- . ${JABBA_SHELL}
104
- jabba use ${BUILD_JABBA_VERSION}
101
+ def buildDriverScript = ''' #!/bin/bash -le
105
102
106
- mvn -B -V install -DskipTests -Dmaven.javadoc.skip=true
107
- '''
108
- }
103
+ . ${JABBA_SHELL}
104
+ jabba use ''' + jabbaVersion+ '''
105
+
106
+ echo "Building with Java version ''' + jabbaVersion+ '''
107
+
108
+ mvn -B -V install -DskipTests -Dmaven.javadoc.skip=true
109
+ '''
110
+ sh label : ' Build driver' , script : buildDriverScript
109
111
}
110
112
111
113
def executeTests () {
@@ -484,7 +486,7 @@ pipeline {
484
486
}
485
487
stage(' Build-Driver' ) {
486
488
steps {
487
- buildDriver(' default ' )
489
+ buildDriver(' 1.8 ' )
488
490
}
489
491
}
490
492
stage(' Execute-Tests' ) {
@@ -600,8 +602,7 @@ pipeline {
600
602
}
601
603
stage(' Build-Driver' ) {
602
604
steps {
603
- // Jabba default should be a JDK8 for now
604
- buildDriver(' default' )
605
+ buildDriver(' 1.8' )
605
606
}
606
607
}
607
608
stage(' Execute-Tests' ) {
You can’t perform that action at this time.
0 commit comments