Commit f59e68e8 authored by daidekun's avatar daidekun

checkout

parent f6a54392
...@@ -29,6 +29,11 @@ def call(body) { ...@@ -29,6 +29,11 @@ def call(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)
...@@ -51,10 +56,6 @@ def call(body) { ...@@ -51,10 +56,6 @@ 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