完善打包脚本

This commit is contained in:
2023-08-09 16:15:52 +08:00
parent f8659a7911
commit 418eaf1705

3
Jenkinsfile vendored
View File

@@ -18,7 +18,10 @@ pipeline{
steps{
withCredentials([usernamePassword(credentialsId: 'harbor-ci', passwordVariable: 'p', usernameVariable: 'u')]) {
sh "docker login -u ${u} -p ${p}"
}
sh "docker build . -t coal:${env.BRANCH_NAME}"