Commit 50f76759 authored by Ndoumbe's avatar Ndoumbe

update

parent 86080257
......@@ -3,6 +3,10 @@ def call(body) {
body.resolveStrategy = Closure.DELEGATE_FIRST
body.delegate = pipelineParams
body()
def COLOR_MAP = [
'SUCCESS': 'good',
'FAILURE': 'danger',
]
pipeline {
agent any
......@@ -16,6 +20,9 @@ def call(body) {
def url = sh(returnStdout: true, script: 'git config remote.origin.url').trim()
def notificationURL = "${url.replace(':', '/').replace('git@', 'https://')}"
def BRANCH_NAME = "${env.BRANCH_NAME}"
def JOB_NAME = "${env.JOB_NAME}"
def BUILD_NUMBER = "${env.BUILD_NUMBER}"
SLACK_CHANNEL_NOTIF = "${pipelineParams.slackChannelNotification}"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment