Skip to content

Commit dd584cc

Browse files
akurtakovRob Stryker
authored andcommitted
Record junit issues and warn on increase
1 parent 4e6b822 commit dd584cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Jenkinsfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pipeline {
3333
# Build and test without DOM-first to ensure no regression takes place
3434
mvn -U clean verify --batch-mode --fail-at-end -Dmaven.repo.local=$WORKSPACE/.m2/repository \
3535
-pl !org.eclipse.jdt.core.tests.javac \
36-
-Ptest-on-javase-23 -Pbree-libs -Papi-check -Pjavadoc -Pp2-repo \
36+
-Ptest-on-javase-23 -Pbree-libs -Pp2-repo \
3737
-Dmaven.test.failure.ignore=true \
3838
-Dcompare-version-with-baselines.skip=false \
3939
-Djava.io.tmpdir=$WORKSPACE/tmp -Dproject.build.sourceEncoding=UTF-8 \
@@ -84,6 +84,8 @@ pipeline {
8484
always {
8585
archiveArtifacts artifacts: '*.log,*/target/work/data/.metadata/*.log,*/tests/target/work/data/.metadata/*.log,apiAnalyzer-workspace/.metadata/*.log,repository/target/repository/**,**/target/artifactcomparison/**', allowEmptyArchive: true
8686
junit 'org.eclipse.jdt.core.tests.javac/target/surefire-reports/*.xml'
87+
discoverGitReferenceBuild referenceJob: 'jdt-core-incubator/dom-with-javac'
88+
recordIssues publishAllIssues:false, ignoreQualityGate:true, tool: junitParser(pattern: 'org.eclipse.jdt.core.tests.javac/target/surefire-reports/*.xml'), qualityGates: [[threshold: 1, type: 'DELTA', unstable: true]]
8789
}
8890
}
8991
}

0 commit comments

Comments
 (0)