diff --git a/Jenkinsfile b/Jenkinsfile index 96badef1..d90d3041 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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"