Closed gregorskii closed 4 years ago
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 has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.
Hi there,
Seeing an intermittent issue on this role where installing packages fails due to this issue:
https://issues.jenkins-ci.org/browse/JENKINS-35197
It appears the issue is with Jenkins 2.0, and per the readme the package install may have issues with Jenkins 2, however I do have success installing at least half the time.
I do however have a large amount of plugins I am installing and it appears the more times it has to install a plugin the more likely it is to happen.
I have updated my role config as follows:
The error output from Ansible is this:
As a solution to this problem is it possible to run a check that the error output is not in the results of running the command on each iteration of the loop?
I tried doing so but the task just skipped when it was in place. I tried adding this:
I am also finding a couple other smaller issues:
Intermittently the
jenkins_admin_password_file
appears to be missing on some runs, and then the "Install Jenkins plugins using password-file." task skips.Sometimes the password task runs even though the
jenkins_admin_password
field is an empty string.