Re: Update all plugins automatically
There is a message that makes it clear it was not supposed to be installed on non-evergreen instances, but for some reason, it's removed Filed https://issues.jenkins-ci.org/browse/JENKINS-54167 to fix it and make it clearer for users this plugin must not be installed by anyone manually. Le ven. 19 oct. 2018 à 17:23, R. Tyler Croy a écrit : > (replies inline) > > On Thu, 18 Oct 2018, gotviser...@gmail.com wrote: > > > My Jenkins is not a docker setup. Can I still use this? I found a > plugin > > and installed it. But getting this error > > The Evergreen plugin is not useful when installed in a non-Jenkins > Evergreen > instance. That plugin only exists to support the system bundled in those > Jenkins Evergreen containers. > > > -- > GitHub: https://github.com/rtyler > Twitter: https://twitter.com/agentdero > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/20181019152256.GT12208%40grape.brokenco.de > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS4bjr%2BGV_ovoUPakfnHZ3QE0z_vCsRkkqxaiRQnq0%2BEgg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Update all plugins automatically
(replies inline) On Thu, 18 Oct 2018, gotviser...@gmail.com wrote: > My Jenkins is not a docker setup. Can I still use this? I found a plugin > and installed it. But getting this error The Evergreen plugin is not useful when installed in a non-Jenkins Evergreen instance. That plugin only exists to support the system bundled in those Jenkins Evergreen containers. -- GitHub: https://github.com/rtyler Twitter: https://twitter.com/agentdero -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/20181019152256.GT12208%40grape.brokenco.de. For more options, visit https://groups.google.com/d/optout. signature.asc Description: PGP signature
Re: Update all plugins automatically
You could setup a job which runs periodically on jenkins master. Solution 1 ssh # prepare info file INFO_FILE=plugins.update.info # CleanUp rm -f * touch $INFO_FILE # get current version of cli JAR wget http://127.0.0.1:8080/jnlpJars/jenkins-cli.jar # update plugins java -jar jenkins-cli.jar -ssh -user automationuser -i ~/.ssh/automationuser/id_rsa list-plugins | grep ')$' >> ./report_raw || true # format report-file cat ./report_raw | sed s/' '/'\t'/g >> ./report # prepare update list UPDATE_LIST=$( java -jar jenkins-cli.jar -ssh -user username -i ~/path/to/id_rsa list-plugins | grep ')$' | cut -f 1 -d ' ' | sed ':a;N;$!ba;s/\n/ /g' ); # update and create report echo $UPDATE_LIST if [ ! -z "${UPDATE_LIST}" ]; then java -jar jenkins-cli.jar -ssh -user username -i ~/path/to/id_rsa install-plugin ${UPDATE_LIST}; java -jar jenkins-cli.jar -ssh -user username -i ~/path/to/id_rsa safe-restart; echo 'Jenkins Plug-ins Update Report' >> $INFO_FILE echo 'The following plug-in updates have been conducted:' >> $INFO_FILE echo '' >> $INFO_FILE echo 'Plug-in IDPlug-in nameOld VersionNew Version' >> $INFO_FILE awk 'BEGIN { FS = "[()\t]+" } ;{print ""$1""$2""$3""$4""}' report >> $INFO_FILE echo '' >> $INFO_FILE else echo 'Jenkins Plug-ins Update Report' >> $INFO_FILE echo 'No updates for installed plug-ins were available!' >> $INFO_FILE fi Solution 2 token # prepare info file INFO_FILE=plugins.update.info rm -f $INFO_FILE # get current version of cli JAR rm -f jenkins-cli.jar wget http://127.0.0.1:8080/jnlpJars/jenkins-cli.jar # update plugins rm -f ./tmp rm -f ./tmp2 java -jar jenkins-cli.jar -auth username:token -s http://127.0.0.1:8080/ list-plugins | grep ')$' >> ./tmp | cat ./tmp | sed s/' '/'\t'/g >> ./tmp2 UPDATE_LIST=$( java -jar jenkins-cli.jar -auth username:token -s http://127.0.0.1:8080/ list-plugins | grep ')$' | cut -f 1 -d ' ' | sed ':a;N;$!ba;s/\n/ /g' ); if [ ! -z "${UPDATE_LIST}" ]; then java -jar jenkins-cli.jar -auth username:token -s http://127.0.0.1:8080/ install-plugin ${UPDATE_LIST}; java -jar jenkins-cli.jar -auth username:token -s http://127.0.0.1:8080/ safe-restart; echo 'Jenkins Plug-ins Update Report' >> $INFO_FILE echo 'The following plug-in updates have been conducted:' >> $INFO_FILE echo '' >> $INFO_FILE echo 'Plug-in IDPlug-in nameOld VersionNew Version' >> $INFO_FILE awk 'BEGIN { FS = "[()\t]+" } ;{print ""$1""$2""$3""$4""}' tmp2 >> $INFO_FILE echo '' >> $INFO_FILE else echo 'Jenkins Plug-ins Update Report' >> $INFO_FILE echo 'No updates for installed plug-ins were available!'>> $INFO_FILE fi Am Mittwoch, 17. Oktober 2018 23:18:26 UTC+2 schrieb gotvi...@gmail.com: > > Hi, > > We are using open source Jenkins and have a bunch of plugins installed. > Is there a way to update all the plugins that are in the "Updates" section > in the Plugin Manager? > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/91f2a236-5e5d-4451-b84a-b042a966724e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Update all plugins automatically
My Jenkins is not a docker setup. Can I still use this? I found a plugin and installed it. But getting this error HTTP ERROR 404 Problem accessing /evergreen/. Reason: Not Found On Thursday, October 18, 2018 at 10:16:48 AM UTC-4, slide wrote: > > Another option would be Jenkins Evergreen [1]. It may meet your needs if > you are looking for known working, updated plugins and Jenkins setups. > > 1 - https://jenkins.io/projects/evergreen/ > > On Thu, Oct 18, 2018 at 6:52 AM Simon Richter > wrote: > >> Hi, >> >> > We are using open source Jenkins and have a bunch of plugins installed. >> > Is there a way to update all the plugins that are in the "Updates" >> > section in the Plugin Manager? >> >> Yes, if you select the checkboxes, you can update multiple plugins at >> once. The "All" link at the bottom selects all checkboxes. >> >>Simon >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to jenkinsci-use...@googlegroups.com . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/20181018135212.GA17055%40psi5.com >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9cc72885-4b3e-4701-9135-949efe6c94cb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Update all plugins automatically
I can't believe how dumb I became!!! Thanks for the info :-) On Thursday, October 18, 2018 at 9:52:26 AM UTC-4, Simon Richter wrote: > > Hi, > > > We are using open source Jenkins and have a bunch of plugins installed. > > Is there a way to update all the plugins that are in the "Updates" > > section in the Plugin Manager? > > Yes, if you select the checkboxes, you can update multiple plugins at > once. The "All" link at the bottom selects all checkboxes. > >Simon > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ae1906c1-1e28-402d-8523-efadcd0520f7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Update all plugins automatically
Another option would be Jenkins Evergreen [1]. It may meet your needs if you are looking for known working, updated plugins and Jenkins setups. 1 - https://jenkins.io/projects/evergreen/ On Thu, Oct 18, 2018 at 6:52 AM Simon Richter wrote: > Hi, > > > We are using open source Jenkins and have a bunch of plugins installed. > > Is there a way to update all the plugins that are in the "Updates" > > section in the Plugin Manager? > > Yes, if you select the checkboxes, you can update multiple plugins at > once. The "All" link at the bottom selects all checkboxes. > >Simon > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/20181018135212.GA17055%40psi5.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfJAVv6C53p_S8syH_0qQ_MRMf%3DqLd8rZo5B4QzTYjPdw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Update all plugins automatically
Hi, > We are using open source Jenkins and have a bunch of plugins installed. > Is there a way to update all the plugins that are in the "Updates" > section in the Plugin Manager? Yes, if you select the checkboxes, you can update multiple plugins at once. The "All" link at the bottom selects all checkboxes. Simon -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/20181018135212.GA17055%40psi5.com. For more options, visit https://groups.google.com/d/optout.
Update all plugins automatically
Hi, We are using open source Jenkins and have a bunch of plugins installed. Is there a way to update all the plugins that are in the "Updates" section in the Plugin Manager? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3f542eb5-6e3c-4035-9fe9-ff0fee90b163%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.