Skip to content

Commit

Permalink
JenkinsFile: eclipse warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
EcljpseB0T committed Dec 8, 2023
1 parent fdf08e5 commit 24862e8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pipeline {
mvn clean verify --batch-mode --fail-at-end -Dmaven.repo.local=$WORKSPACE/.m2/repository \
-Pbree-libs -Papi-check -Pjavadoc \
-Dcompare-version-with-baselines.skip=false \
-Dmaven.compiler.failOnWarning=true \
-Dmaven.compiler.failOnWarning=false \
-Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss.SSS \
-DtrimStackTrace=false
"""
Expand All @@ -30,7 +30,7 @@ pipeline {
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'
discoverGitReferenceBuild referenceJob: 'eclipse.platform/master'
recordIssues publishAllIssues: true, tools: [java(), mavenConsole(), javaDoc()]
recordIssues publishAllIssues: true, tools: [eclipse(), mavenConsole(), javaDoc()], qualityGates: [[threshold: 1, type: 'DELTA', unstable: true]]
}
}
}
Expand Down
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@
<testClassesDirectory>${tycho.surefire.testClassesDirectory}</testClassesDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<configuration>
<useProjectSettings>true</useProjectSettings>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down

0 comments on commit 24862e8

Please sign in to comment.