From 6f983e0d59b568f8a86c752ee01caa1a623282b0 Mon Sep 17 00:00:00 2001 From: sanchitvj Date: Fri, 12 Apr 2024 17:35:24 -0400 Subject: [PATCH] added badge modification --- ci/Jenkinsfile | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index 345c435..11c7f3a 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -25,6 +25,7 @@ pipeline { stage('Create venv'){ steps { sh 'python3 -m venv .venv' + sh 'exit 1' } } @@ -80,7 +81,6 @@ pipeline { withChecks('Static Type Checks'){ junit 'mypy-report.xml' } - } } } @@ -102,22 +102,12 @@ pipeline { withChecks('Integration Tests'){ junit 'pytest-report.xml' } - - cleanWs( - cleanWhenNotBuilt: false, - deleteDirs: true, - disableDeferredWipeout: true, - notFailBuild: true, - patterns: [[pattern: '.gitignore', type: 'INCLUDE'], - [pattern: '.propsfile', type: 'EXCLUDE']] - ) } } } } post { failure{ - sh 'python3 ci/modify_test_status.py --fail' sh 'git add README.md' sh 'git commit -m "test status updated"' @@ -129,5 +119,15 @@ pipeline { sh 'git commit -m "test status updated"' sh 'git push' } + cleanup{ + cleanWs( + cleanWhenNotBuilt: false, + deleteDirs: true, + disableDeferredWipeout: true, + notFailBuild: true, + patterns: [[pattern: '.gitignore', type: 'INCLUDE'], + [pattern: '.propsfile', type: 'EXCLUDE']] + ) + } } }