Commit 36e99251 authored by wentao.suo's avatar wentao.suo

ffff

parent 4efa932d
...@@ -40,6 +40,7 @@ def call(body) { ...@@ -40,6 +40,7 @@ def call(body) {
try { try {
echo config.buildType echo config.buildType
/* 1 */
stage('prepare') { stage('prepare') {
_utils.beautyEcho("Prepare", "stage") _utils.beautyEcho("Prepare", "stage")
contextDir = _stage.contextMkdir("${systemName}-${timeStemp}") contextDir = _stage.contextMkdir("${systemName}-${timeStemp}")
...@@ -47,7 +48,7 @@ def call(body) { ...@@ -47,7 +48,7 @@ def call(body) {
} }
/* 2 */
withDockerServer([uri: "tcp://192.168.4.96:2375/"]) { withDockerServer([uri: "tcp://192.168.4.96:2375/"]) {
stage('checkout & build') { stage('checkout & build') {
...@@ -57,12 +58,13 @@ def call(body) { ...@@ -57,12 +58,13 @@ def call(body) {
for (systemNameSimple in arrSystem) { for (systemNameSimple in arrSystem) {
_stage.checkAndBuild(config.buildType, systemNameSimple, branchName, contextDir) _stage.checkAndBuild(config.buildType, systemNameSimple, branchName, contextDir)
} }
_utils.beautyEcho("build over", "info")
} }
} }
/* 3 */
withDockerServer([uri: "tcp://192.168.4.96:2375/"]) { withDockerServer([uri: "tcp://192.168.4.96:2375/"]) {
_utils.beautyEcho("build over", "info")
stage('make docker image') { stage('make docker image') {
_utils.beautyEcho("make docker image", "stage") _utils.beautyEcho("make docker image", "stage")
imageTag = _stage.imageTag(harborGroup,k8sSystemName,safeBranchName,timeStemp) imageTag = _stage.imageTag(harborGroup,k8sSystemName,safeBranchName,timeStemp)
......
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