Explorar o código

更新 'Jenkinsfile'

将自定义镜像推送到Harbor
chl %!s(int64=2) %!d(string=hai) anos
pai
achega
c1f1b97e66
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      Jenkinsfile

+ 4 - 1
Jenkinsfile

@@ -5,7 +5,10 @@ pipeline{
  
  // 声明全局变量,方便后面使用
  environment {
-  key = 'value'
+    harborUser = 'admin'
+	harborPasswd = 'Harbor12345'
+	harborAddress = '47.103.25.235:8899'
+	harborRepo = 'repo'
  }
  
  stages{