Skip to content

Commit 969fbaf

Browse files
committed
[DO NOT SUBMIT] Jenkinsfile: Test Tycho 4.0.13 way to display api tools warnings
1 parent b29048a commit 969fbaf

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

Jenkinsfile

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*******************************************************************************
1+
//*******************************************************************************
22
* Copyright (c) 2021, 2024 Red Hat Inc. and others.
33
*
44
* This program and the accompanying materials
@@ -344,12 +344,18 @@ pipeline {
344344
}
345345
post {
346346
always {
347-
junit 'eclipse.platform.swt/tests/*.test*/target/surefire-reports/*.xml'
348-
archiveArtifacts artifacts: '**/*.log,*/binaries/*/target/*.jar', excludes: '**/*-sources.jar'
347+
junit allowEmptyResults: true, testResults: 'eclipse.platform.swt/tests/*.test*/target/surefire-reports/*.xml'
348+
archiveArtifacts allowEmptyArchive: true, artifacts: '**/*.log,*/binaries/*/target/*.jar', excludes: '**/*-sources.jar'
349349
discoverGitReferenceBuild referenceJob: 'eclipse.platform.swt/master'
350350
// To accept unstable builds (test errors or new warnings introduced by third party changes) as reference using "ignoreQualityGate:true"
351-
recordIssues publishAllIssues: true, ignoreQualityGate:true, tools: [eclipse(name: 'Compiler and API Tools', pattern: '**/target/compilelogs/*.xml'), javaDoc()], qualityGates: [[threshold: 1, type: 'DELTA', unstable: true]]
352-
recordIssues publishAllIssues: true, ignoreQualityGate:true, tool: mavenConsole(), qualityGates: [[threshold: 1, type: 'DELTA_ERROR', unstable: true]]
351+
recordIssues enabledForFailure: true, publishAllIssues: true, ignoreQualityGate:true,
352+
tools: [
353+
eclipse(name: 'Compiler', pattern: '**/target/compilelogs/*.xml'),
354+
issues(name: 'API Tools', id: 'apitools', pattern: '**/target/apianalysis/*.xml'),
355+
javaDoc()
356+
],
357+
qualityGates: [[threshold: 1, type: 'DELTA', unstable: true]]
358+
recordIssues enabledForFailure: true, publishAllIssues: true, ignoreQualityGate:true, tool: mavenConsole(), qualityGates: [[threshold: 1, type: 'DELTA_ERROR', unstable: true]]
353359
}
354360
}
355361
}

bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2530,8 +2530,8 @@ public class SWT {
25302530
* XULRunner as a browser renderer is no longer supported. Use
25312531
* <code>SWT.WEBKIT</code> or <code>SWT.NONE</code> instead.
25322532
*/
2533-
@Deprecated
2534-
public static final int MOZILLA = 1 << 15;
2533+
//@Deprecated
2534+
//public static final int MOZILLA = 1 << 15;
25352535

25362536
/**
25372537
* Style constant specifying that a Browser should use WebKit

0 commit comments

Comments
 (0)