From 8aabdf6ab477ab7b489a0d4ca0d74b0b10cda3ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Wed, 2 Sep 2020 19:01:51 +0200 Subject: [PATCH] fix: do not update state status when catching lint errors (#255) (#256) --- .ci/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/Jenkinsfile b/.ci/Jenkinsfile index 69cd6944a2..6666f8ea8a 100644 --- a/.ci/Jenkinsfile +++ b/.ci/Jenkinsfile @@ -100,7 +100,7 @@ pipeline { unstash 'source' withGoEnv(version: "${GO_VERSION}"){ dir(BASE_DIR){ - catchError(message: 'There were some failures when running pre-commit checks', buildResult: 'SUCCESS', stageResult: 'UNSTABLE') { + catchError(message: 'There were some failures when running pre-commit checks', buildResult: 'SUCCESS') { sh script: '.ci/scripts/install-dependencies.sh', label: 'Install dependencies' preCommit(commit: "${GIT_BASE_COMMIT}", junit: true) }