Jetty 12.0.x test Jenkins JUnitFlakyTestDataPublisher (#11984)
* use JUnitFlakyTestDataPublisher --------- Signed-off-by: Olivier Lamy <olamy@apache.org>
This commit is contained in:
parent
e56a37a5da
commit
913e82d0da
|
@ -126,7 +126,7 @@ def mavenBuild(jdk, cmdline, mvnName) {
|
|||
}
|
||||
}
|
||||
runLaunchable ("verify")
|
||||
runLaunchable ("record build --name $BRANCH_NAME")
|
||||
runLaunchable ("record build --name jetty-12.0.x")
|
||||
sh "mvn $extraArgs -DsettingsPath=$GLOBAL_MVN_SETTINGS -Dmaven.repo.uri=http://nexus-service.nexus.svc.cluster.local:8081/repository/maven-public/ -ntp -s $GLOBAL_MVN_SETTINGS -Dmaven.repo.local=.repository -Pci -V -B -e -U $cmdline"
|
||||
if(saveHome()) {
|
||||
archiveArtifacts artifacts: ".repository/org/eclipse/jetty/jetty-home/**/jetty-home-*", allowEmptyArchive: true, onlyIfSuccessful: false
|
||||
|
@ -136,9 +136,9 @@ def mavenBuild(jdk, cmdline, mvnName) {
|
|||
}
|
||||
finally
|
||||
{
|
||||
junit testResults: '**/target/surefire-reports/**/*.xml,**/target/invoker-reports/TEST*.xml', allowEmptyResults: true
|
||||
junit testDataPublishers: [[$class: 'JUnitFlakyTestDataPublisher']], testResults: '**/target/surefire-reports/**/*.xml,**/target/invoker-reports/TEST*.xml', allowEmptyResults: true
|
||||
echo "Launchable record tests"
|
||||
runLaunchable ("record tests --build $BRANCH_NAME maven '**/target/surefire-reports/**/*.xml' '**/target/invoker-reports/TEST*.xml'")
|
||||
runLaunchable ("record tests --build jetty-12.0.x maven '**/target/surefire-reports/**/*.xml' '**/target/invoker-reports/TEST*.xml'")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue