Skip to content

Commit

Permalink
Record issues in Jenkins
Browse files Browse the repository at this point in the history
Enable javadoc profile to get javadoc warnings too.
  • Loading branch information
akurtakov committed Dec 14, 2023
1 parent ac96459 commit 2ce7bb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pipeline {
wrap([$class: 'Xvnc', useXauthority: true]) {
sh """
mvn clean verify --batch-mode --fail-at-end -Dmaven.repo.local=$WORKSPACE/.m2/repository \
-Pbree-libs -Papi-check \
-Pbree-libs -Papi-check -Pjavadoc \
-Dcompare-version-with-baselines.skip=false \
-Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true \
-Dproject.build.sourceEncoding=UTF-8 \
Expand All @@ -29,7 +29,7 @@ pipeline {
always {
archiveArtifacts artifacts: '*.log,*/target/work/data/.metadata/*.log,*/tests/target/work/data/.metadata/*.log,apiAnalyzer-workspace/.metadata/*.log', allowEmptyArchive: true
junit '**/target/surefire-reports/TEST-*.xml'
publishIssues issues:[scanForIssues(tool: java()), scanForIssues(tool: mavenConsole())]
recordIssues tools: [eclipse(), java(), javaDoc(), mavenConsole()]
}
}
}
Expand Down

0 comments on commit 2ce7bb4

Please sign in to comment.