@@ -9,9 +9,6 @@ pipeline {
99 buildDiscarder logRotator( numToKeepStr : ' 40' )
1010 disableRestartFromStage()
1111 }
12- environment {
13- LAUNCHABLE_TOKEN = credentials(' launchable-token' )
14- }
1512 stages {
1613 stage(" Parallel Stage" ) {
1714 parallel {
@@ -125,8 +122,6 @@ def mavenBuild(jdk, cmdline, mvnName) {
125122 extraArgs = " -Dmaven.test.failure.ignore=true "
126123 }
127124 }
128- runLaunchable (" verify" )
129- runLaunchable (" record build --name jetty-12.1.x" )
130125 dashProfile = " "
131126 if (useEclipseDash()) {
132127 dashProfile = " -Peclipse-dash "
@@ -140,9 +135,7 @@ def mavenBuild(jdk, cmdline, mvnName) {
140135 }
141136 finally
142137 {
143- junit testDataPublishers : [[$class : ' JUnitFlakyTestDataPublisher' ]], testResults : ' **/target/surefire-reports/**/*.xml,**/target/invoker-reports/TEST*.xml' , allowEmptyResults : true
144- echo " Launchable record tests"
145- runLaunchable (" record tests --build jetty-12.1.x maven '**/target/surefire-reports/**/*.xml' '**/target/invoker-reports/TEST*.xml'" )
138+ junit testResults : ' **/target/surefire-reports/**/*.xml,**/target/invoker-reports/TEST*.xml' , allowEmptyResults : true
146139 }
147140 }
148141}
@@ -187,17 +180,5 @@ def websiteBuild() {
187180 }
188181 }
189182}
190- /**
191- * run launchable with args and ignore any errors
192- * @param args
193- */
194- def runLaunchable (args ) {
195- try {
196- sh " launchable $args "
197- } catch (Exception e) {
198- e. printStackTrace()
199- echo " skip failure running Launchable: " + e. getMessage()
200- }
201- }
202183
203184// vim: et:ts=2:sw=2:ft=groovy
0 commit comments