@@ -14,11 +14,11 @@ pipeline {
14
14
stages {
15
15
stage(' Build' ) {
16
16
steps {
17
- wrap([$ class : ' Xvnc ' , useXauthority : true ] ) {
17
+ xvnc( useXauthority : true ) {
18
18
sh """
19
19
mvn clean verify --batch-mode --fail-at-end -Dmaven.repo.local=$WORKSPACE /.m2/repository \
20
20
-Pbree-libs -Papi-check -Pjavadoc \
21
- -Dmaven.test.failure.ignore=true \
21
+ -Dmaven.test.failure.ignore=true \
22
22
-Dcompare-version-with-baselines.skip=false \
23
23
-Dmaven.compiler.failOnWarning=false \
24
24
-Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss.SSS \
@@ -28,10 +28,12 @@ pipeline {
28
28
}
29
29
post {
30
30
always {
31
- archiveArtifacts artifacts : ' .*log,*/target/work/data/.metadata/.*log,*/tests/ target/work/data/.metadata/.*log,apiAnalyzer-workspace/.metadata /.*log' , allowEmptyArchive : true
31
+ archiveArtifacts artifacts : ' .*log,**/ target/** /.*log' , allowEmptyArchive : true
32
32
junit ' **/target/surefire-reports/TEST-*.xml'
33
33
discoverGitReferenceBuild referenceJob : ' eclipse.platform/master'
34
- recordIssues publishAllIssues :false , ignoreQualityGate :true , tool : eclipse(name : ' Compiler and API Tools' , pattern : ' **/target/compilelogs/*.xml' ), qualityGates : [[threshold : 1 , type : ' DELTA' , unstable : true ]]
34
+ recordIssues(publishAllIssues :false , ignoreQualityGate :true ,
35
+ tool : eclipse(name : ' Compiler and API Tools' , pattern : ' **/target/compilelogs/*.xml' ),
36
+ qualityGates : [[threshold : 1 , type : ' DELTA' , unstable : true ]])
35
37
recordIssues publishAllIssues :false , tools : [mavenConsole(), javaDoc()]
36
38
}
37
39
}
0 commit comments