Updating Jenkins Plugins With Pipeline
02 Aug 2017Do you ever notice that Jenkins plugins versions are being updatedso fast? It`s either good or bad: good, because we`ve got new features and bugfixes so often; bad, because we often need to update them manually. :)
But we can automate plugins update procedure with Jenkins cool pipeline! I write an example Jenkinsfile
using magic of shell
and groovy
:
As a result, this job will be started @monthly
, check available updates, send an email to you to confirm update. If you don`t confirm it in 24 hours, job will update plugins automatically.