diff --git a/Jenkinsfile b/Jenkinsfile index 0398433..5447af8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -82,8 +82,8 @@ spec: steps { container('kubectl') { sh """ - sed -i "s/REPLICAS/${env.REPLICAS}/;s/HARBOR_HOST/${env.HARBOR_HOST}/;s/NAMESPACE_NAME/${env.NAMESPACE_NAME}/;s/REPOSITORY_NAME/${env.REPOSITORY_NAME}/;s/TAG/${env.TAG}/" ${YAML_PATH} - kubectl apply -f ${YAML_PATH} + sed -i "s/REPLICAS/${env.REPLICAS}/;s/HARBOR_HOST/${env.HARBOR_HOST}/;s/NAMESPACE_NAME/${env.NAMESPACE_NAME}/;s/REPOSITORY_NAME/${env.REPOSITORY_NAME}/;s/TAG/${env.TAG}/" ${env.YAML_PATH} + kubectl apply -f ${env.YAML_PATH} """ }