From 169484809e30e97c3b414ddfdee1fcb2c4bd7fe0 Mon Sep 17 00:00:00 2001 From: Maxime Noel Date: Fri, 6 Dec 2024 14:10:58 +1300 Subject: [PATCH] remove string --- .../environments/common/pipeline-build-validation-aws.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins_pipelines/environments/common/pipeline-build-validation-aws.groovy b/jenkins_pipelines/environments/common/pipeline-build-validation-aws.groovy index eb869ac51..4cabac9e4 100644 --- a/jenkins_pipelines/environments/common/pipeline-build-validation-aws.groovy +++ b/jenkins_pipelines/environments/common/pipeline-build-validation-aws.groovy @@ -14,8 +14,8 @@ def run(params) { env.exports = "export BUILD_NUMBER=${BUILD_NUMBER}; export BUILD_VALIDATION=true;" ssh_option = '-o StrictHostKeyChecking=no -o ConnectTimeout=7200 -o ServerAliveInterval=60' - String server_ami = params.server_ami ?: null - String proxy_ami = params.proxy_ami ?: null + server_ami = params.server_ami ?: "" + proxy_ami = params.proxy_ami ?: "" //Deployment variables deployed_local = false