From 7142858e1c7c0fdf5735366980dea4d4647c0cf5 Mon Sep 17 00:00:00 2001 From: Thirumalesh Aaraveti Date: Tue, 27 Feb 2024 12:18:31 +0530 Subject: [PATCH] Fixed the accounts list --- jenkins/clouds/aws/daily/policies/Jenkinsfile | 2 +- jenkins/tenant/aws/ecoeng_02/PolicyJenkinsfileDaily | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins/clouds/aws/daily/policies/Jenkinsfile b/jenkins/clouds/aws/daily/policies/Jenkinsfile index 1447ccfb..295017d7 100644 --- a/jenkins/clouds/aws/daily/policies/Jenkinsfile +++ b/jenkins/clouds/aws/daily/policies/Jenkinsfile @@ -43,7 +43,7 @@ pipeline { stage('Run Daily Policies') { steps { script { - for (account in accounts_list.keySet() { + for (account in accounts_list.keySet()) { echo "Running for account ${account.toUpperCase()}" withCredentials([string(credentialsId: "${account}-aws-access-key-id", variable: 'access_key'), string(credentialsId: "${account}-aws-secret-key-id", variable: 'secret_key'), diff --git a/jenkins/tenant/aws/ecoeng_02/PolicyJenkinsfileDaily b/jenkins/tenant/aws/ecoeng_02/PolicyJenkinsfileDaily index 46bbed8f..ae535f31 100644 --- a/jenkins/tenant/aws/ecoeng_02/PolicyJenkinsfileDaily +++ b/jenkins/tenant/aws/ecoeng_02/PolicyJenkinsfileDaily @@ -1,4 +1,4 @@ -account = ['appeng': "mmikhail@redhat.com, matrujil@redhat.com, babak@redhat.com", +accounts_list = ['appeng': "mmikhail@redhat.com, matrujil@redhat.com, babak@redhat.com", 'fsi-partner': "mmikhail@redhat.com, avillega@redhat.com, babak@redhat.com", 'fsi-ecosystem': "mmikhail@redhat.com, avillega@redhat.com, babak@redhat.com"] pipeline {