Try again
This commit is contained in:
parent
024a9798b3
commit
5ec93d5a46
@ -8,7 +8,7 @@ void call(Map config = [:], Closure body) {
|
||||
updatePip: true,
|
||||
installPipTools: true,
|
||||
requirementsFile: 'requirements.in',
|
||||
name: 'python'
|
||||
stepName: 'python'
|
||||
]
|
||||
runConfig = defaultConfig + config
|
||||
|
||||
@ -24,8 +24,9 @@ void call(Map config = [:], Closure body) {
|
||||
"PATH=${venvBinDir.join('/')}"
|
||||
]
|
||||
|
||||
stage(runConfig.name) {
|
||||
if (fileExists(runConfig.venvDir) && runConfig.recreateVenv) {
|
||||
stage(runConfig.stepName) {
|
||||
printBanner(runConfig.stepName)
|
||||
if (fileExists(runConfig.venvDir) && runConfig.recreateVenv) {
|
||||
dir(runConfig.venvDir) {
|
||||
deleteDir()
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user