Trying to use pipenv in jenkins

This commit is contained in:
reverend 2021-07-10 13:42:26 +02:00
parent ceabe3f6f8
commit bcf3377190

11
Jenkinsfile vendored
View File

@ -1,6 +1,17 @@
pipeline { pipeline {
agent any 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 { stages {
stage('migration') { stage('migration') {
steps { steps {