From 0426e1ea91f9957c036dc283cd7484ad61328444 Mon Sep 17 00:00:00 2001 From: Jaideep <79799016+jayfranco999@users.noreply.github.com> Date: Mon, 28 Oct 2024 21:26:56 +0530 Subject: [PATCH] chore(jenkinsfile):Add updatecli-aws-credentials (#1482) * chore(jenkinsfile):Add updatecli-aws-credentials Signed-off-by: jayfranco999 * fixup Signed-off-by: jayfranco999 * fixup Signed-off-by: jayfranco999 --------- Signed-off-by: jayfranco999 --- Jenkinsfile_updatecli | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile_updatecli b/Jenkinsfile_updatecli index 77eda8f36..b43f1aff7 100644 --- a/Jenkinsfile_updatecli +++ b/Jenkinsfile_updatecli @@ -1,4 +1,8 @@ -withCredentials([azureServicePrincipal('updatecli-azure-serviceprincipal')]) { +withCredentials([ + azureServicePrincipal('updatecli-azure-serviceprincipal'), + string(credentialsId: 'updatecli-aws-access-key-id', variable: 'AWS_ACCESS_KEY_ID'), + string(credentialsId: 'updatecli-aws-secret-access-key', variable: 'AWS_SECRET_ACCESS_KEY') +]) { if (env.BRANCH_IS_PRIMARY) { updatecli(action: 'apply', updatecliAgentLabel: 'linux-amd64-docker', cronTriggerExpression: '@daily') } else {