From 3b296cbcc912a6b7192dba5fc30c1f17249f8abc Mon Sep 17 00:00:00 2001 From: Romuald Juchnowicz-Bierbasz Date: Tue, 21 May 2019 14:18:45 +0200 Subject: [PATCH] Fix pipeline --- jenkins/release.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jenkins/release.groovy b/jenkins/release.groovy index f5f0119..8caf4f9 100644 --- a/jenkins/release.groovy +++ b/jenkins/release.groovy @@ -1,13 +1,13 @@ stage('Upload to github') { - node('ActiveClientWindowsBuilder') { + node('ActiveClientMacosxBuilder') { deleteDir() checkout scm withPythonEnv('python') { withCredentials([usernamePassword(credentialsId: 'github_friendsofgalaxy', usernameVariable: 'GITHUB_USERNAME', passwordVariable: 'GITHUB_TOKEN')]) { - bat 'pip install -r jenkins/requirements.txt' - def version = bat(returnStdout: true, script: 'python setup.py --version').trim() - bat "python jenkins/release.py $version" + sh 'pip install -r jenkins/requirements.txt' + def version = sh(returnStdout: true, script: 'python setup.py --version').trim() + sh "python jenkins/release.py $version" } } }