Skip to content

Commit

Permalink
Increase wait_timeout for Jenkins master
Browse files Browse the repository at this point in the history
Due to change in the logic of installing Jenkins plugins, the initial Jenkins
container deploy can take more than 10 minutes which was a hardcoded
timeout waiting for Jenkins' availability. The patch increases the timeout
to 30 minutes.

Closes-Bug: PROD-36876
Change-Id: I34bfb8868f589384a443e35028acb19aaf7ef8a8
  • Loading branch information
avgoor committed Apr 29, 2022
1 parent 6fb7a50 commit d7f866e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/mirantis/mk/Orchestrate.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ def installCicd(master, extra_tgt = '') {
salt.enforceState([saltId: master, target: "I@docker:swarm:role:master and I@jenkins:client ${dockerClientExclude} ${extra_tgt}", state: 'docker.client', retries: 2])

// API timeout in minutes
def wait_timeout = 10
def wait_timeout = 30

// Gerrit
def gerrit_master_url = salt.getPillar(master, gerrit_compound, '_param:gerrit_master_url')
Expand Down

0 comments on commit d7f866e

Please sign in to comment.