Commit 6f3b50b7 by chenweitao

Merge branch 'working' into 'master'

发布文件修改

See merge request !78
parents 0324a347 09dbdf69
......@@ -16,7 +16,7 @@ pipeline {
}
stages {
stage('build') {
when { branch 'master' }
steps {
......@@ -24,12 +24,12 @@ pipeline {
}
post {
success {
sh "/usr/local/bin/workwechatctl -p ${env.JOB_NAME} -n 马黎滨 -c 项目编译成功进行下一阶段"
sh "/usr/local/bin/workwechatctl -p ${env.JOB_NAME} -n 陈炜涛 -c 项目编译成功进行下一阶段"
}
failure {
step([$class: 'Mailer',
notifyEveryUnstableBuild: true,
recipients: "malibin@zhiweidata.com",
recipients: "chenweitao@zhiweidata.com",
sendToIndividuals: true])
}
}
......@@ -38,7 +38,7 @@ pipeline {
when { branch 'master' }
steps {
withCredentials([usernamePassword(credentialsId: 'dockerHub', passwordVariable: 'dockerHubPassword', usernameVariable: 'dockerHubUser')]) {
sh "docker login -u ${dockerHubUser} -p ${dockerHubPassword} harbor.docker.zhiweireach.com"
sh "docker login -u ${dockerHubUser} -p ${dockerHubPassword} harbor.docker.zhiweireach.com"
sh "docker build -t harbor.docker.zhiweireach.com/daemon/${env.JOB_NAME}:${env.BUILD_NUMBER} . "
}
......@@ -76,4 +76,4 @@ pipeline {
}
}
}
}
\ No newline at end of file
}
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