Skip to content

Commit

Permalink
Dropp å lage release
Browse files Browse the repository at this point in the history
  • Loading branch information
zapodot committed Apr 29, 2024
1 parent 5456a29 commit f1e55a9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ pipeline {
post {
success {
gitPush()
warnError(message: "Feilet under opprettelse av release i Github repo") {
httpRequest acceptType: 'APPLICATION_JSON', contentType: 'APPLICATION_JSON', authentication: 'Github-token-login', httpMode: 'POST', requestBody: """{"tag_name": "${env.RELEASE_VERSION}", "name": "${env.RELEASE_VERSION}", "body": "Release utført av ${env.user}"}""", url: "https://api.github.com/repos/ks-no/${env.REPO_NAME}/releases", consoleLogResponseBody: true, validResponseCodes: "201"
}
script {
currentBuild.description = "${env.user} released version ${env.RELEASE_VERSION}"
}
Expand Down

0 comments on commit f1e55a9

Please sign in to comment.