Explorar el Código

更新 'Jenkinsfile'

将自定义镜像推送到Harbor
chl hace 2 años
padre
commit
c1f1b97e66
Se han modificado 1 ficheros con 4 adiciones y 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{