diff --git a/Jenkinsfile b/Jenkinsfile index 5b185c1..57a7565 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,17 @@ pipeline { agent any + environment { + // pyenv + PYENV_ROOT="$HOME/.pyenv" + PYENV_SHELL="bash" + // pipenv + PIPENV_YES="true" + PIPENV_NOSPIN="YES" + WORKON_HOME="$WORKSPACE/venv" + PATH="$PYENV_ROOT/bin:/opt/packer:$PATH" + } + stages { stage('migration') { steps {