diff --git a/Jenkinsfile b/Jenkinsfile index 63f267a290..ae007c52ee 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -127,12 +127,21 @@ axes.values().combinations { echo "Recording static analysis results for '${platform.capitalize()}'" recordIssues( enabledForFailure: true, - tools: [java(), javaDoc()], + tools: [java()], filters: [excludeFile('.*Assert.java')], sourceCodeEncoding: 'UTF-8', skipBlames: true, trendChartType: 'TOOLS_ONLY' ) + recordIssues( + enabledForFailure: true, + tools: [javaDoc()], + filters: [excludeFile('.*Assert.java')], + sourceCodeEncoding: 'UTF-8', + skipBlames: true, + trendChartType: 'TOOLS_ONLY', + qualityGates: [[threshold: 1, type: 'NEW', unstable: true]] + ) recordIssues([tool: spotBugs(pattern: '**/target/spotbugsXml.xml'), sourceCodeEncoding: 'UTF-8', skipBlames: true, diff --git a/core/src/main/java/jenkins/model/GlobalCloudConfiguration.java b/core/src/main/java/jenkins/model/GlobalCloudConfiguration.java index 8b25c8fc2b..022474b496 100644 --- a/core/src/main/java/jenkins/model/GlobalCloudConfiguration.java +++ b/core/src/main/java/jenkins/model/GlobalCloudConfiguration.java @@ -11,7 +11,6 @@ import org.kohsuke.accmod.restrictions.NoExternalUse; /** * Redirects from /configureClouds to /cloud/. * Previously was the form for clouds. - *
* @deprecated Replaced by {@link jenkins.agents.CloudsLink} and {@link jenkins.agents.CloudSet}. */ @Extension