ansible-role-jenkins
ansible-role-jenkins copied to clipboard
Role can fail on just one failed attempt to download repo, repo key, or specific Jenkins install
Since all three of these mechanisms are pulling from external urls, a result->until-> retries pattern should be used. (the jenkins site was giving me fits today).
delphix-tcw-centos7-kitchen_sink: TASK [geerlingguy.jenkins : Ensure Jenkins repo is installed.] ***************** delphix-tcw-centos7-kitchen_sink: changed: [default] delphix-tcw-centos7-kitchen_sink: delphix-tcw-centos7-kitchen_sink: TASK [geerlingguy.jenkins : Add Jenkins repo GPG key.] ************************* delphix-tcw-centos7-kitchen_sink: fatal: [default]: FAILED! => {"changed": false, "msg": "failed to fetch key at https://pkg.jenkins.io/redhat/jenkins.io.key , error was: Request failed: <urlopen error timed out>"} delphix-tcw-centos7-kitchen_sink: delphix-tcw-centos7-kitchen_sink: PLAY RECAP ********************************************************************* delphix-tcw-centos7-kitchen_sink: default
Good idea; I have also run into this error plenty of times, as the Jenkins servers are notoriously flaky...
Awaiting #279
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
This issue is no longer marked for closure.