|
|
@ -1,7 +1,7 @@ |
|
|
|
pipeline { |
|
|
|
pipeline { |
|
|
|
environment { |
|
|
|
environment { |
|
|
|
PROJECT_NAME = "${PROJECT_NAME}" |
|
|
|
PROJECT_NAME = "${PROJECT_NAME}" |
|
|
|
DOCKER_REPOSITORY_CREDENTIAL_ID = "2aba2cf0-e2e7-4e7d-8664-feb9268fb39e" |
|
|
|
DOCKER_REPOSITORY_CREDENTIAL_ID = "${DOCKER_REPOSITORY_CREDENTIAL_ID}" |
|
|
|
HARBOR_HOST = "${HARBOR_HOST}" |
|
|
|
HARBOR_HOST = "${HARBOR_HOST}" |
|
|
|
NAMESPACE_NAME = "${NAMESPACE_NAME}" |
|
|
|
NAMESPACE_NAME = "${NAMESPACE_NAME}" |
|
|
|
JAVA_REPOSITORY_NAME = "ruoyi-java" |
|
|
|
JAVA_REPOSITORY_NAME = "ruoyi-java" |
|
|
@ -13,8 +13,8 @@ pipeline { |
|
|
|
YAML_PATH = "cloud/deploy/" |
|
|
|
YAML_PATH = "cloud/deploy/" |
|
|
|
JAVA_DEPLOYMENT_NAME = "ruoyi-java.yaml" |
|
|
|
JAVA_DEPLOYMENT_NAME = "ruoyi-java.yaml" |
|
|
|
NODE_DEPLOYMENT_NAME = "ruoyi-nginx.yaml" |
|
|
|
NODE_DEPLOYMENT_NAME = "ruoyi-nginx.yaml" |
|
|
|
STATUS_URL = "http://qf.jenkins.vip:30210/job/ruoyi/${BUILD_NUMBER}" |
|
|
|
STATUS_URL = "${JENKINS_URL}/job/ruoyi/${BUILD_NUMBER}" |
|
|
|
CONSOLE_URL = "http://qf.jenkins.vip:30210/job/ruoyi/${BUILD_NUMBER}/console" |
|
|
|
CONSOLE_URL = "${JENKINS_URL}/job/ruoyi/${BUILD_NUMBER}/console" |
|
|
|
} |
|
|
|
} |
|
|
|
agent { |
|
|
|
agent { |
|
|
|
kubernetes { |
|
|
|
kubernetes { |
|
|
|