Switch to warnings-ng plugin
The warnings plugin has been deprecated and removed upstream. Change-Id: Idbb992f4593f8f3d928526141af19b357262a92b Reviewed-on: https://forge.frm2.tum.de/review/20226 Reviewed-by: Bjoern Pedersen <bjoern.pedersen@frm2.tum.de> Tested-by: Bjoern Pedersen <bjoern.pedersen@frm2.tum.de>
This commit is contained in:

committed by
Bjoern Pedersen

parent
4f83bc42cc
commit
55763c24cd
22
ci/Jenkinsfile
vendored
22
ci/Jenkinsfile
vendored
@ -75,18 +75,16 @@ fi
|
|||||||
verifyStatusName: 'pylint-'+pyver,
|
verifyStatusName: 'pylint-'+pyver,
|
||||||
verifyStatusReporter: 'jenkins',
|
verifyStatusReporter: 'jenkins',
|
||||||
verifyStatusRerun: '!recheck'])
|
verifyStatusRerun: '!recheck'])
|
||||||
warnings([ canComputeNew: false,
|
archiveArtifacts([allowEmptyArchive: true,
|
||||||
canRunOnFailed: true,
|
artifacts: 'pylint_*.txt'])
|
||||||
defaultEncoding: '',
|
recordIssues([enabledForFailure: true,
|
||||||
excludePattern: '',
|
ignoreQualityGate: true,
|
||||||
healthy: '',
|
tools: [pyLint(id: idtag, name: "Pylint $info", pattern: 'pylint_*.txt')],
|
||||||
includePattern: '',
|
unhealthy: 2,
|
||||||
messagesPattern: '',
|
healthy: 1,
|
||||||
parserConfigurations: [[parserName: 'PyLint', pattern: 'pylint_*.txt']],
|
failedTotalAll: 1])
|
||||||
unHealthy: '',
|
|
||||||
failedTotalAll: '0',
|
|
||||||
unstableTotalAll: '1'
|
|
||||||
])
|
|
||||||
if (status == 'FAILURE') {
|
if (status == 'FAILURE') {
|
||||||
throw new Exception('Failure in pylint with ' + pyver)
|
throw new Exception('Failure in pylint with ' + pyver)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user