更新 'Jenkinsfile'

main
newrain001 9 months ago
parent 1b995c0fa4
commit 22588a9194
  1. 3
      Jenkinsfile

3
Jenkinsfile vendored

@ -1,6 +1,5 @@
pipeline {
environment {
KUBERNETES_NAME = "kubernetes"
DOCKER_REPOSITORY_CREDENTIAL_ID = "ea3d4aae-783b-460f-9cd0-931c53c021db"
HARBOR_HOST = "http://192.168.75.149:30002"
NAMESPACE_NAME = "library"
@ -9,7 +8,7 @@ pipeline {
}
agent {
kubernetes {
cloud "${env.KUBERNETES_NAME}"
cloud "kubernetes"
yaml """
apiVersion: v1
kind: Pod

Loading…
Cancel
Save