From d619ecfb0ae2179735888837d87784ced7aa393d Mon Sep 17 00:00:00 2001 From: Divya Madala <113469545+Divyaasm@users.noreply.github.com> Date: Mon, 17 Feb 2025 14:37:30 -0800 Subject: [PATCH] Fix configHelper bug for authTpye default (#529) Signed-off-by: Divya Madala --- lib/compute/jenkins-main-node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compute/jenkins-main-node.ts b/lib/compute/jenkins-main-node.ts index 2876d616..7a7b8959 100644 --- a/lib/compute/jenkins-main-node.ts +++ b/lib/compute/jenkins-main-node.ts @@ -432,7 +432,7 @@ export class JenkinsMainNode { InitCommand.shellCommand(loginAuthProps.authType !== 'default' // eslint-disable-next-line max-len ? `cd /configHelper && sudo pipenv run python3 config_helper.py --initial-jenkins-config-file-path=/initial_jenkins.yaml --auth-aws-secret-arn=${loginAuthProps.authCredsSecretsArn} --auth-type=${loginAuthProps.authType} --aws-region=${stackRegion} > configHelper.log 2>&1` - : 'No changes made to initial_jenkins.yaml with respect to AuthType'), + : 'echo No changes made to initial_jenkins.yaml with respect to AuthType'), InitCommand.shellCommand('while [[ "$(curl -s -o /dev/null -w \'\'%{http_code}\'\' localhost:8080/api/json?pretty)" != "200" ]]; do sleep 5; done'), // Reload configuration via Jenkins.yaml