Commit 33ffdf97 authored by daidekun's avatar daidekun

fixbugs

parent 64ed2880
......@@ -5,7 +5,6 @@ def call(body) {
def config = [:]
print body.env.BRANCH_NAME
print body.env.GIT_REPO
def branchName = body.env.BRANCH_NAME
body.resolveStrategy = Closure.DELEGATE_FIRST
body.delegate = config
......@@ -14,7 +13,7 @@ def call(body) {
node {
try {
stage ('Clone') {
print branchName
print config.env.BRANCH_NAME
}
stage ('Build') {
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