diff --git a/Jenkinsfile b/Jenkinsfile index a54c2c3..fdd0aa5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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