Commit 55cba125 authored by daidekun's avatar daidekun

fix

parent 63454203
......@@ -3,18 +3,13 @@ import org.qg.*
def call(body) {
def config = [:]
def env = body.env
def branchName = body.env.BRANCH_NAME
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
node {
try {
stage ('Clone') {
print branchName
......
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