From f2b330a3f0b3542a3e45c7e1025a388eb2d65b4c Mon Sep 17 00:00:00 2001 From: Bjoern Pedersen Date: Fri, 30 Apr 2021 08:05:27 +0200 Subject: [PATCH] Correct checks enum Change-Id: Ibe23825bfdfcac15262987383407e18ead4cf880 Reviewed-on: https://forge.frm2.tum.de/review/c/sine2020/secop/playground/+/25840 Tested-by: Bjoern Pedersen Reviewed-by: Bjoern Pedersen --- ci/Jenkinsfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index 74fa88d..85dac19 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -70,7 +70,7 @@ fi echo "pylint result: $res" this.verifyresult.put('pylint'+pyver, 1) - cpylint = "SUCCESSFULL" + cpylint = "SUCCESSFUL" if ( res != 0 ) { currentBuild.result='FAILURE' this.verifyresult.put('pylint'+ pyver, -1) @@ -117,7 +117,7 @@ python3 setup.py develop make test ''' verifyresult.put(pyver, 1) - cpytest = "SUCCESSFULL" + cpytest = "SUCCESSFUL" } } catch (all) { currentBuild.result = 'FAILURE' @@ -136,6 +136,8 @@ make test } def run_docs() { + def cdocs = "RUNNING" + gerritPostCheck(["jenkins:docs":cdocs]) stage('prepare') { sh ''' . /home/jenkins/secopvenv/bin/activate @@ -183,8 +185,9 @@ def run_docs() { stage('store html doc for build') { publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: true, reportDir: 'doc/_build/html', reportFiles: 'index.html', reportName: 'Built documentation', reportTitles: '']) + cdocs = "SUCCESSFUL" } - + gerritPostCheck(["jenkins:docs":cdocs]) }