Skip to content

Commit

Permalink
Fix configHelper bug for authTpye default
Browse files Browse the repository at this point in the history
Signed-off-by: Divya Madala <[email protected]>
  • Loading branch information
Divyaasm committed Feb 17, 2025
1 parent f89a814 commit bad1f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compute/jenkins-main-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bad1f12

Please sign in to comment.