mirror of https://github.com/jenkinsci/jenkins.git
Address javadoc warning and setup quality gates (#8024)
This commit is contained in:
parent
a559601878
commit
ddadebb7e9
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue