Fix pipeline

This commit is contained in:
Romuald Bierbasz
2019-05-21 14:27:02 +02:00
parent 3b296cbcc9
commit ef7f9ccca1

View File

@@ -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()