Skip to content

Commit 9edcc92

Browse files
committed
Update path for pyenv shims
1 parent 12a9712 commit 9edcc92

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Jenkinsfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ def deploy_production = [:]
1818

1919
pipeline {
2020
agent any
21+
environment {
22+
// Set the PATH variable to include the pyenv shims directory.
23+
PATH = "/var/lib/jenkins/.pyenv/shims:${env.PATH}"
24+
}
2125
stages {
2226
stage('Build dev/feature branch') {
2327
when {

0 commit comments

Comments
 (0)