Trying to use pipenv in jenkins

This commit is contained in:
reverend 2021-07-10 13:42:26 +02:00
parent ceabe3f6f8
commit bcf3377190
1 changed files with 11 additions and 0 deletions

11
Jenkinsfile vendored
View File

@ -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 {