Commit 59280c83 authored by daidekun's avatar daidekun

fixbugs

parent f59e68e8
......@@ -28,12 +28,7 @@ def call(body) {
body()
node {
try {
stage('Checkout') {
_stage.checkout(branchName, gitRepo)
}
try {
stage('prepare') {
echo "buildType is: ${config.buildType}"
contextDir = _utils.contextDir(workspace)
......@@ -56,6 +51,10 @@ def call(body) {
}
}
stage('Checkout') {
_stage.checkout(branchName, gitRepo)
}
stage('Build') {
switch (config.buildType) {
case "java":
......
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