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