diff --git a/jenkins/release.groovy b/jenkins/release.groovy index d25d308..64c9488 100644 --- a/jenkins/release.groovy +++ b/jenkins/release.groovy @@ -1,6 +1,8 @@ stage('Upload to github') { node('ActiveClientWindowsBuilder') { + deleteDir() + checkout scm withPythonEnv('python') { withCredentials([usernamePassword(credentialsId: 'github_friendsofgalaxy', usernameVariable: 'GITHUB_USERNAME', passwordVariable: 'GITHUB_TOKEN')]) { bat 'pip install -r jenkins/requirements.txt'