demo-jenkins-config-as-code
demo-jenkins-config-as-code copied to clipboard
Increase Jenkins version and use plugin installation manager tool
(Newer "jenkins/jenkins" Docker base images already contain v2.1.0 of plugin installation manager tool)
Oh wow, today we extremely often get also failures during downloading of plugins! So maybe your comment in https://github.com/oleg-nenashev/demo-jenkins-config-as-code/commit/1c081dfead882c02c52185960a7408746cae4219#commitcomment-43409028 also applys for the downloading feature! ;-( => we have now switched back to the old (deprecated) tool... not sure if that is the real solution though... because the mirror server is also under seemingly consistently higher load (cf. bottom of http://mirror.serverion.com/)!?
But it looks like the error handling is also "not at all perfect" (little understatement) in the new tool!?
Failure example (note that is always a different plugin):
...
maven-plugin downloaded successfully
Unable to download blueocean-personalization
ERROR: Service 'jenkins' failed to build: The command '/bin/sh -c jenkins-plugin-cli --plugin-file /usr/share/jenkins/ref/plugins.txt' returned a non-zero code: 1