diff --git a/src/org/typo3/chefci/v2/stages/Publish.groovy b/src/org/typo3/chefci/v2/stages/Publish.groovy index 9726811..11a5dd5 100644 --- a/src/org/typo3/chefci/v2/stages/Publish.groovy +++ b/src/org/typo3/chefci/v2/stages/Publish.groovy @@ -118,7 +118,7 @@ class Publish extends AbstractStage { def newVersion = script.readFile('VERSION') // TODO - def credentialsId = 'github-chefcitypo3org-token' + def credentialsId = 'github-token' script.withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: credentialsId, usernameVariable: 'GIT_USERNAME', passwordVariable: 'GIT_PASSWORD']]) { // this was the coolest way to not store the password that I found // http://stackoverflow.com/questions/33570075/tag-a-repo-from-a-jenkins-workflow-script