Address javadoc warning and setup quality gates (#8024)

This commit is contained in:
Alexander Brandes 2023-05-21 12:22:46 +02:00 committed by GitHub
parent a559601878
commit ddadebb7e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

11
Jenkinsfile vendored
View File

@ -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,

View File

@ -11,7 +11,6 @@ import org.kohsuke.accmod.restrictions.NoExternalUse;
/**
* Redirects from /configureClouds to /cloud/.
* Previously was the form for clouds.
* <p>
* @deprecated Replaced by {@link jenkins.agents.CloudsLink} and {@link jenkins.agents.CloudSet}.
*/
@Extension