mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 15:55:18 +08:00
完善打包脚本
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -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}"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user