Commit 153b8577 authored by daidekun's avatar daidekun

fix

parent 88fa9bc7
...@@ -4,7 +4,7 @@ def call(body) { ...@@ -4,7 +4,7 @@ def call(body) {
def config = [:] def config = [:]
print body.env.BRANCH_NAME print body.env.BRANCH_NAME
def branchName = body.env.BRANCH_NAME static branchName = body.env.BRANCH_NAME
body.resolveStrategy = Closure.DELEGATE_FIRST body.resolveStrategy = Closure.DELEGATE_FIRST
body.delegate = config body.delegate = config
...@@ -14,8 +14,6 @@ def call(body) { ...@@ -14,8 +14,6 @@ def call(body) {
try { try {
stage ('Clone') { stage ('Clone') {
print branchName print branchName
print gitRepo
print namespace
} }
stage ('Build') { stage ('Build') {
sh "echo 'building ${config.projectName} ...'" sh "echo 'building ${config.projectName} ...'"
......
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