From bad1f120427c65d4d125fda6153368424148afd9 Mon Sep 17 00:00:00 2001 From: Divya Madala Date: Mon, 17 Feb 2025 14:29:22 -0800 Subject: [PATCH] Fix configHelper bug for authTpye default 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