From f516a9a583d4991c4ce82f36b7620e9b6f89394d Mon Sep 17 00:00:00 2001 From: Thirumalesh Aaraveti Date: Wed, 10 Jan 2024 15:26:53 +0530 Subject: [PATCH] Added the single quotes to jenkins env --- jenkins/tenant/aws/ecoeng_01/PolicyJenkinsfileDaily | 2 +- jenkins/tenant/aws/ecoeng_02/PolicyJenkinsfileDaily | 2 +- jenkins/tenant/aws/ecoeng_03/PolicyJenkinsfileDaily | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jenkins/tenant/aws/ecoeng_01/PolicyJenkinsfileDaily b/jenkins/tenant/aws/ecoeng_01/PolicyJenkinsfileDaily index cefcd932c..6f91b680f 100644 --- a/jenkins/tenant/aws/ecoeng_01/PolicyJenkinsfileDaily +++ b/jenkins/tenant/aws/ecoeng_01/PolicyJenkinsfileDaily @@ -23,7 +23,7 @@ pipeline { // Find the all available policies: https://github.com/redhat-performance/cloud-governance/tree/main/cloud_governance/policy // By default, all policies are running in dry_run="yes" mode and the whole list can be found in run_policies.py // POLICIES_IN_ACTION: Policies that run in the dry_run="no" mode - POLICIES_IN_ACTION = ["ebs_unattached", "ip_unattached", "zombie_snapshots", "unused_nat_gateway", "s3_inactive", "empty_roles"] + POLICIES_IN_ACTION = '["ebs_unattached", "ip_unattached", "zombie_snapshots", "unused_nat_gateway", "s3_inactive", "empty_roles"]' } stages { stage('Checkout') { // Checkout (git clone ...) the projects repository diff --git a/jenkins/tenant/aws/ecoeng_02/PolicyJenkinsfileDaily b/jenkins/tenant/aws/ecoeng_02/PolicyJenkinsfileDaily index eb564065a..ff308e868 100644 --- a/jenkins/tenant/aws/ecoeng_02/PolicyJenkinsfileDaily +++ b/jenkins/tenant/aws/ecoeng_02/PolicyJenkinsfileDaily @@ -23,7 +23,7 @@ pipeline { // Find the all available policies: https://github.com/redhat-performance/cloud-governance/tree/main/cloud_governance/policy // By default, all policies are running in dry_run="yes" mode and the whole list can be found in run_policies.py // POLICIES_IN_ACTION: Policies that run in the dry_run="no" mode - POLICIES_IN_ACTION = ["ebs_unattached", "ip_unattached", "zombie_snapshots", "unused_nat_gateway", "s3_inactive", "empty_roles"] + POLICIES_IN_ACTION = '["ebs_unattached", "ip_unattached", "zombie_snapshots", "unused_nat_gateway", "s3_inactive", "empty_roles"]' } stages { stage('Checkout') { // Checkout (git clone ...) the projects repository diff --git a/jenkins/tenant/aws/ecoeng_03/PolicyJenkinsfileDaily b/jenkins/tenant/aws/ecoeng_03/PolicyJenkinsfileDaily index 65b07849f..74b9a6471 100644 --- a/jenkins/tenant/aws/ecoeng_03/PolicyJenkinsfileDaily +++ b/jenkins/tenant/aws/ecoeng_03/PolicyJenkinsfileDaily @@ -23,7 +23,7 @@ pipeline { // Find the all available policies: https://github.com/redhat-performance/cloud-governance/tree/main/cloud_governance/policy // By default, all policies are running in dry_run="yes" mode and the whole list can be found in run_policies.py // POLICIES_IN_ACTION: Policies that run in the dry_run="no" mode - POLICIES_IN_ACTION = [] + POLICIES_IN_ACTION = "[]" } stages { stage('Checkout') { // Checkout (git clone ...) the projects repository