From 019bcd590ce4fa34853031e51a22d7d113d26995 Mon Sep 17 00:00:00 2001 From: Siva Nagotu Date: Fri, 3 Jan 2025 10:13:52 +0000 Subject: [PATCH] DS-237 Reverting previous merging changes --- build/jenkins/Jenkinsfile.live.stages | 5 ++--- build/jenkins/Jenkinsfile.put.stages | 4 ++-- build/jenkins/Jenkinsfile.stages | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/build/jenkins/Jenkinsfile.live.stages b/build/jenkins/Jenkinsfile.live.stages index 4d1fee3a..ca0bc578 100644 --- a/build/jenkins/Jenkinsfile.live.stages +++ b/build/jenkins/Jenkinsfile.live.stages @@ -1,8 +1,7 @@ pipeline { agent any parameters { - choice(name: 'ENVIRONMENT', choices: ['build', 'live'], description: 'Environment of the Stage to deploy') - string(name: 'LAMBDA_VERSION', defaultValue: 'latest', description: 'Version or alias of the RD Lambda for stage to point at') + string(name: 'LAMBDA_VERSION', defaultValue: '1', description: 'Version or alias of the RD Lambda for stage to point at') } options { buildDiscarder(logRotator(daysToKeepStr: "7", numToKeepStr: "13")) @@ -11,7 +10,7 @@ pipeline { timeout(time: 25, unit: "MINUTES") } environment { - ENVIRONMENT = "${params.ENVIRONMENT}" + ENVIRONMENT = "live" PROFILE = "live" TF_VAR_lambda_version = "${params.LAMBDA_VERSION}" } diff --git a/build/jenkins/Jenkinsfile.put.stages b/build/jenkins/Jenkinsfile.put.stages index 0704e7ee..a9f414d4 100644 --- a/build/jenkins/Jenkinsfile.put.stages +++ b/build/jenkins/Jenkinsfile.put.stages @@ -1,8 +1,8 @@ pipeline { agent any parameters { - choice(name: 'ENVIRONMENT', choices: ['build', 'uat1', 'uat2', 'uat3', 'uat4', 'ut'], description: 'Environment of the Stage to deploy') - string(name: 'LAMBDA_VERSION', defaultValue: 'latest', description: 'Version or alias of the RD Lambda for stage to point at') + choice(name: 'ENVIRONMENT', choices: ['uat1', 'uat2', 'uat3', 'uat4', 'ut'], description: 'Environment of the Stage to deploy') + string(name: 'LAMBDA_VERSION', defaultValue: '1', description: 'Version or alias of the RD Lambda for stage to point at') } options { buildDiscarder(logRotator(daysToKeepStr: "7", numToKeepStr: "13")) diff --git a/build/jenkins/Jenkinsfile.stages b/build/jenkins/Jenkinsfile.stages index 40da88de..b70355e4 100644 --- a/build/jenkins/Jenkinsfile.stages +++ b/build/jenkins/Jenkinsfile.stages @@ -1,8 +1,8 @@ pipeline { agent any parameters { - choice(name: 'ENVIRONMENT', choices: ['build', 'test', 'test1', 'test2', 'test3', 'test4', 'test5', 'istest1', 'istest2', 'istest3', 'fix', 'performance', 'performance2', 'regression'], description: 'Environment of the Stage to deploy') - string(name: 'LAMBDA_VERSION', defaultValue: 'latest', description: 'Version or alias of the RD Lambda for stage to point at') + choice(name: 'ENVIRONMENT', choices: ['test', 'test1', 'test2', 'test3', 'test4', 'test5', 'istest1', 'istest2', 'istest3', 'fix', 'performance', 'performance2', 'regression'], description: 'Environment of the Stage to deploy') + string(name: 'LAMBDA_VERSION', defaultValue: '1', description: 'Version or alias of the RD Lambda for stage to point at') } options { buildDiscarder(logRotator(daysToKeepStr: '7', numToKeepStr: '13'))