diff --git a/vars/pythonVenvStage.groovy b/vars/pythonVenvStage.groovy index 18e5710..41192af 100644 --- a/vars/pythonVenvStage.groovy +++ b/vars/pythonVenvStage.groovy @@ -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() }