Commit 65ad95a8 authored by daidekun's avatar daidekun

fix

parent 5a5dca16
......@@ -2,18 +2,17 @@ import org.qg.*
def call(body) {
print body.env.BRANCH_NAME
def config = [:]
body.resolveStrategy = Closure.DELEGATE_FIRST
body.delegate = config
body()
node {
branchName = env.BRANCH_NAME
gitRepo = env.GIT_REPO
namespace = env.NAMESPACE
isDeploy = env.IS_DEPLOY
buildNumber = env.BUILD_NUMBER
branchName = body.env.BRANCH_NAME
gitRepo = body.env.GIT_REPO
namespace = body.env.NAMESPACE
isDeploy = body.env.IS_DEPLOY
buildNumber = body.env.BUILD_NUMBER
try {
stage ('Clone') {
......
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