Correctly publish pylint results
Change-Id: Ica71417f8e13959eb46065f1fe664b362d701d8c Reviewed-on: https://forge.frm2.tum.de/review/19619 Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de> Reviewed-by: Bjoern Pedersen <bjoern.pedersen@frm2.tum.de>
This commit is contained in:

committed by
Bjoern Pedersen

parent
c0f7034b30
commit
17ae9a4be6
3
ci/Jenkinsfile
vendored
3
ci/Jenkinsfile
vendored
@ -62,12 +62,13 @@ fi
|
|||||||
} // credentials
|
} // credentials
|
||||||
|
|
||||||
echo "pylint result: $res"
|
echo "pylint result: $res"
|
||||||
|
this.verifyresult.put('pylint'+pyver, 1)
|
||||||
if ( res != 0 ) {
|
if ( res != 0 ) {
|
||||||
currentBuild.result='FAILURE'
|
currentBuild.result='FAILURE'
|
||||||
this.verifyresult.put('pylint'+ pyver, -1)
|
this.verifyresult.put('pylint'+ pyver, -1)
|
||||||
status = 'FAILURE'
|
status = 'FAILURE'
|
||||||
}
|
}
|
||||||
|
|
||||||
gerritverificationpublisher([
|
gerritverificationpublisher([
|
||||||
verifyStatusValue: this.verifyresult['pylint'+pyver],
|
verifyStatusValue: this.verifyresult['pylint'+pyver],
|
||||||
verifyStatusCategory: 'pylint ',
|
verifyStatusCategory: 'pylint ',
|
||||||
|
Reference in New Issue
Block a user