diff --git a/Jenkinsfile b/Jenkinsfile index 83c1bc5..ca3f1a2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -70,7 +70,7 @@ pipeline { when { allOf { branch 'main' - expression { return params.DEPLOY_HOST?.trim() } + expression { return env.DEPLOY_HOST?.trim() } } } agent any