Skip to content

Commit c93465b

Browse files
committed
Archive compilelogs to diagnose intermittent compiler warnings
The Compiler check occasionally reports Unnecessary @SuppressWarnings ("restriction") on files a change does not touch, because the platform fragment carrying the org.eclipse.swt.internal classes sometimes lands on the compile classpath without the host's discouraged access rules. target/compilelogs/*.xml records the exact -classpath ECJ was invoked with, including access rules, so archiving it makes that state comparable between builds. Assisted-by: Anthropic Claude Code (claude-opus-5[1m])
1 parent 9ca368d commit c93465b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ pipeline {
329329
post {
330330
always {
331331
junit allowEmptyResults: true, testResults: 'eclipse.platform.swt/tests/*.test*/target/surefire-reports/*.xml'
332-
archiveArtifacts allowEmptyArchive: true, artifacts: '**/*.log,*/binaries/*/target/*.jar,*/bundles/*/target/*.jar', excludes: '**/*-sources.jar'
332+
archiveArtifacts allowEmptyArchive: true, artifacts: '**/*.log,**/target/compilelogs/*.xml,*/binaries/*/target/*.jar,*/bundles/*/target/*.jar', excludes: '**/*-sources.jar'
333333
discoverGitReferenceBuild referenceJob: 'eclipse.platform.swt/master'
334334
// To accept unstable builds (test errors or new warnings introduced by third party changes) as reference using "ignoreQualityGate:true"
335335
recordIssues enabledForFailure: true, publishAllIssues: true, ignoreQualityGate: true, tools: [

0 commit comments

Comments
 (0)