From 6caf9102a2c122d7f058bb6138f1c42ff6dfe820 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 cefcd932..6f91b680 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 eb564065..ff308e86 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 65b07849..d06a71b8 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