Skip to content

Commit

Permalink
added badge modification
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchitvj committed Apr 12, 2024
1 parent e3b35e6 commit 6f983e0
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ pipeline {
stage('Create venv'){
steps {
sh 'python3 -m venv .venv'
sh 'exit 1'
}
}

Expand Down Expand Up @@ -80,7 +81,6 @@ pipeline {
withChecks('Static Type Checks'){
junit 'mypy-report.xml'
}

}
}
}
Expand All @@ -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"'
Expand All @@ -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']]
)
}
}
}

0 comments on commit 6f983e0

Please sign in to comment.