Commit 59280c83 authored by daidekun's avatar daidekun

fixbugs

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