diff --git a/Jenkinsfile b/Jenkinsfile index 8a652853d1..1e833f73c7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,7 +12,7 @@ def notifySlack(String buildResult = 'STARTED', String zipPath = '') { if ( buildResult == "SUCCESS" ) { slackSend color: "good", message: "Job: ${env.JOB_NAME} with buildnumber ${env.BUILD_NUMBER} was successful."+buildInfo - withCredentials([string(credentialsId: 'Slack Oauth Token', variable: 'SECRET')]) { + withCredentials([string(credentialsId: 'Slack-Oauth-Token', variable: 'SECRET')]) { sh ''' set +x curl -F file=@$BUILD_ZIP_PATH -F channels=#jenkins -F token="$SECRET" https://slack.com/api/files.upload @@ -47,7 +47,7 @@ pipeline { } git url: "git@github.com:/ThemeFuse/Brizy", - credentialsId: '7ca32202-12d1-4189-9ff3-093095f8ffc3', + credentialsId: 'Git', branch: params.releaseBranch sh 'git config user.name "Alex Zaharia"'