mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
bugfix
This commit is contained in:
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@@ -31,6 +31,8 @@ pipeline{
|
||||
CURRENT_TIME = currentTime
|
||||
}
|
||||
}
|
||||
|
||||
sh 'printenv'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,6 +41,9 @@ pipeline{
|
||||
|
||||
|
||||
steps{
|
||||
|
||||
sh 'printenv'
|
||||
|
||||
withCredentials([usernamePassword(credentialsId: 'aliyun_cr_lihongjie', passwordVariable: 'p', usernameVariable: 'u')]) {
|
||||
|
||||
sh "docker login -u ${u} -p ${p} registry.cn-beijing.aliyuncs.com"
|
||||
|
||||
Reference in New Issue
Block a user