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:
Björn Pedersen 2019-03-26 09:10:05 +01:00 committed by Bjoern Pedersen
parent 4f83bc42cc
commit 55763c24cd

22
ci/Jenkinsfile vendored
View File

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