environment test

This commit is contained in:
crusader 2023-02-02 12:04:30 +00:00
parent 001cd70109
commit f32138147c

2
Jenkinsfile vendored
View File

@ -93,7 +93,7 @@ podTemplate(
credentialsId: 'microk8s-cluster',
serverUrl: env.K8s_SERVER_URL,
contextName: env.K8s_CONTEXT_NAME,
clusterName: env.K8s_CLUSTER_NAME]){
clusterName: env.K8s_CLUSTER_NAME]) {
sh """
DEPLOY_DATE=$(date +"%Y-%m-%d %H:%M:%S")
sed -i.bak 's#__REGISTRY_URL__#'"${dockerRegistryUrl}"'#' ./.k8s/deployment.yaml