瀏覽代碼

更新 'Jenkinsfile'

master^2
bpa 9 月之前
父節點
當前提交
c6af960b5e
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      Jenkinsfile

+ 2
- 2
Jenkinsfile 查看文件

@@ -75,7 +75,7 @@ pipeline{
if(params.operation=='develop')
{

sh "docker build -t 10.2.1.24:10242/bpa/order:${build_tag} ."
sh "docker build -t 10.2.1.24:10242/bpa/groupmealorder:${build_tag} ."
}
}
@@ -91,7 +91,7 @@ pipeline{
sh "docker login -u ${harborUser} -p ${harborPassword} 10.2.1.24:10242"
if(params.operation=='develop')
{
sh "docker push 10.2.1.24:10242/bpa/order:${build_tag}"
sh "docker push 10.2.1.24:10242/bpa/groupmealorder:${build_tag}"
}
}


Loading…
取消
儲存