diff --git a/jenkins/release.groovy b/jenkins/release.groovy index 8caf4f9..9562754 100644 --- a/jenkins/release.groovy +++ b/jenkins/release.groovy @@ -3,7 +3,7 @@ stage('Upload to github') node('ActiveClientMacosxBuilder') { deleteDir() checkout scm - withPythonEnv('python') { + withPythonEnv('/usr/local/bin/python3.7') { withCredentials([usernamePassword(credentialsId: 'github_friendsofgalaxy', usernameVariable: 'GITHUB_USERNAME', passwordVariable: 'GITHUB_TOKEN')]) { sh 'pip install -r jenkins/requirements.txt' def version = sh(returnStdout: true, script: 'python setup.py --version').trim()