Skip to content

Commit

Permalink
Fix acces token
Browse files Browse the repository at this point in the history
  • Loading branch information
lordoftheflies committed Sep 10, 2018
1 parent 3fac705 commit e9d3087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pipeline {
script {
if (env.BRANCH_NAME == 'master') {
def bower = readJSON file: 'bower.json'
sh "curl --data '{\"tag_name\": \"${bower.version}\",\"target_commitish\": \"master\",\"name\": \"${bower.version}\",\"body\": \"Release of version ${bower.version}\",\"draft\": false,\"prerelease\": false}' https://api.github.com/repos/lordoftheflies/plutonium-pagination/releases?access_token=:a0247efa6210580b301c963c9dba0f7af8f1b67f"
sh "curl --data '{\"tag_name\": \"${bower.version}\",\"target_commitish\": \"master\",\"name\": \"${bower.version}\",\"body\": \"Release of version ${bower.version}\",\"draft\": false,\"prerelease\": false}' https://api.github.com/repos/lordoftheflies/plutonium-pagination/releases?access_token=a0247efa6210580b301c963c9dba0f7af8f1b67f"
slackSend color: "warning", channel: "#jenkins", message: "Build #${env.BUILD_NUMBER} Distribution of ${bower.version} Completed - ${env.JOB_NAME} (<https://jenkins.cherubits.hu/blue/organizations/jenkins/plutonium-pagination/detail/master/${env.BUILD_NUMBER}/pipeline|Open build>, <https://www.webcomponents.org/element/lordoftheflies/plutonium-pagination|Visit>)"
}

Expand Down

0 comments on commit e9d3087

Please sign in to comment.