Commit 1019f3b3 authored by wentao.suo's avatar wentao.suo

fff

parent ecdbad72
...@@ -44,7 +44,7 @@ def call(body) { ...@@ -44,7 +44,7 @@ def call(body) {
ansiColor('xterm') { ansiColor('xterm') {
/*dir (systemName) {*/ dir (systemName) {
stage('Checkout & Build') { stage('Checkout & Build') {
git_path = project_attr(systemName)["gitPath"] git_path = project_attr(systemName)["gitPath"]
...@@ -54,7 +54,8 @@ def call(body) { ...@@ -54,7 +54,8 @@ def call(body) {
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: git_path git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: git_path
def workspace = pwd()
echo "${workspace}"
sh 'mvn clean package -P test -D maven.test.skip=true' sh 'mvn clean package -P test -D maven.test.skip=true'
...@@ -64,7 +65,7 @@ def call(body) { ...@@ -64,7 +65,7 @@ def call(body) {
} }
} catch (err) { } catch (err) {
sleep 100
ansiColor('xterm') { ansiColor('xterm') {
if (imageTag) { if (imageTag) {
_stage.clean_images(imageTag) _stage.clean_images(imageTag)
......
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