Issue with tool auto-installer feature?

63 views
Skip to first unread message

Julien HENRY

unread,
Mar 12, 2015, 10:24:28 AM3/12/15
to jenkin...@googlegroups.com
Hi guys,

During our test of the SonarQube Jenkins plugin we have noticed the following bad behavior:
  - start from scratch (drop ~/.jenkins)
  - start a clean Jenkins with java -jar jenkins.war
  - go in administration page and see that all tools auto-install drop down list are populated (and indeed there are appropriate files in ~/.jenkins/updates)
  - install SonarQube Jenkins plugin manually (upload sonar.hpi)
  - restart Jenkins
  - go in administration page and see SonarQube Runner tool auto-install feature is broken (a text box is rendered instead of the drop down)
  - in ~/.jenkins/updates/ there is indeed no hudson.plugins.sonar.SonarRunnerInstaller file

To fix that I only found 2 options:
  - either wait for a very long time (1 day?) as it seems this is the default interval for downloading json files from update center
  - delete entire folder ~/.jenkins/updates and restart Jenkins => then all files (including hudson.plugins.sonar.SonarRunnerInstaller) are downloaded

So my question is: is it a known issue on core side or did I do something wrong in my implementation:

Thanks

Julien

Daniel Beck

unread,
Mar 12, 2015, 1:12:37 PM3/12/15
to jenkin...@googlegroups.com
Installing new tool installers should probably trigger an update check by core.

That said, an easy workaround is to click 'Check Now' in Manage Plugins » Advanced (or on any tab in Manage Plugins starting with 1.602 or so).
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/1650556883.697311.1426170080118.JavaMail.yahoo%40mail.yahoo.com.
> For more options, visit https://groups.google.com/d/optout.

Julien HENRY

unread,
Mar 13, 2015, 6:44:32 AM3/13/15
to jenkin...@googlegroups.com
> Installing new tool installers should probably trigger an update check by core.
+1 should I create a JIRA entry?

> That said, an easy workaround is to click 'Check Now' in Manage Plugins » Advanced (or on any tab in Manage Plugins starting with 1.602 or so).

Works! Thanks. Note that only the button on "Advanced" tab was working. The one on default tab leads to http://<jenkins>/updateCenter/ and files are not updated.

++

Julien

Daniel Beck

unread,
Mar 13, 2015, 7:07:07 AM3/13/15
to jenkin...@googlegroups.com

On 13.03.2015, at 11:44, 'Julien HENRY' via Jenkins Developers <jenkin...@googlegroups.com> wrote:

> The one on default tab leads to http://<jenkins>/updateCenter/ and files are not updated.

You didn't click the button that says 'Download now and install after restart' and is completely unrelated, did you?

Daniel Beck

unread,
Mar 13, 2015, 7:33:48 AM3/13/15
to jenkin...@googlegroups.com

On 13.03.2015, at 12:08, Daniel Beck <m...@beckweb.net> wrote:

> You didn't click the button that says 'Download now and install after restart' and is completely unrelated, did you?

Answering my own question: Probably not. As it turns out, the buttons are broken.

https://github.com/jenkinsci/jenkins/pull/1593#issuecomment-78925577

Julien HENRY

unread,
Mar 13, 2015, 9:31:21 AM3/13/15
to jenkin...@googlegroups.com
> You didn't click the button that says 'Download now and install after restart' and is completely unrelated, did you?

No I clicked the "Check Now" button, but it seems to have the same result than "Download now and install after restart". It is working properly only on the "Advanced" tab.


De : Daniel Beck <m...@beckweb.net>
À : jenkin...@googlegroups.com
Envoyé le : Vendredi 13 mars 2015 12h08
Objet : Re: Issue with tool auto-installer feature?




On 13.03.2015, at 11:44, 'Julien HENRY' via Jenkins Developers <jenkin...@googlegroups.com> wrote:

> The one on default tab leads to http://<jenkins>/updateCenter/ and files are not updated.


You didn't click the button that says 'Download now and install after restart' and is completely unrelated, did you?

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/0C730CB9-557D-4449-979E-F6F52D534996%40beckweb.net.

Christopher Orr

unread,
Apr 1, 2015, 5:05:50 AM4/1/15
to jenkin...@googlegroups.com
This problem just came up again on IRC; I couldn't find an existing
issue on JIRA, so now there is one:
https://issues.jenkins-ci.org/browse/JENKINS-27694
Reply all
Reply to author
Forward
0 new messages