[JIRA] (JENKINS-41428) Tool Location Configuration Removed when Configuring System

6 views
Skip to first unread message

jdavis@ipswitch.com (JIRA)

unread,
Jan 25, 2017, 9:38:01 AM1/25/17
to jenkinsc...@googlegroups.com
Jason Davis created an issue
 
Jenkins / Bug JENKINS-41428
Tool Location Configuration Removed when Configuring System
Issue Type: Bug Bug
Assignee: Unassigned
Components: vsphere-cloud-plugin
Created: 2017/Jan/25 2:37 PM
Environment: Jenkins 2.32.1
vSphere Plugin 2.15
Git client Plugin 2.2.1 (but I've noticed that no tool location is kept)
Priority: Major Major
Reporter: Jason Davis

I've noticed that the Tool Location configuration I've setup gets removed whenever anyone returns to edit the system configuration.

  • Manage Jenkins -> Configure System
  • Create a vSphere Cloud and Template
  • In the template configuratnoi, check "Tool Locations" -> and provide a tool and path. In my case I'm overriding a git configuration I created with the Git client plugin in the Global Tool Configuration section called "git-default". I've noticed the effect occurs with other tools and it doesn't matter if you have multiple tools set here.
  • Provide the path to the tool and save. The override I'm doing will show up in the generated templates after the agent is created and the jobs will pick up the tool override.
  • Return to the "Configure System" page, scroll down and notice that the Tool Configuration information is no longer present. If you save at this point, the tool override value is lost.

The big ugly hassle is we have a lot of systems now using templates and jobs that utilize them work well until someone edits and saves the Jenkins configuration page. Because we're using it to setup the git path for jobs on the generated agent, all the jobs using the templates start failing until we go back an re-setup the tool configuration. Developers complain and hate on Jenkins, we look silly, etc. . There's no way we're going to always remember to reconfigure all the tools to their specific needs every time someone admins Jenkins here.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

jdavis@ipswitch.com (JIRA)

unread,
Jan 25, 2017, 9:40:01 AM1/25/17
to jenkinsc...@googlegroups.com

jdavis@ipswitch.com (JIRA)

unread,
Jan 25, 2017, 9:42:01 AM1/25/17
to jenkinsc...@googlegroups.com

jdavis@ipswitch.com (JIRA)

unread,
Jan 25, 2017, 9:42:01 AM1/25/17
to jenkinsc...@googlegroups.com
Jason Davis updated an issue
Change By: Jason Davis
Attachment: After Re-editing Jenkins System Config.png

jdavis@ipswitch.com (JIRA)

unread,
Jan 25, 2017, 9:43:01 AM1/25/17
to jenkinsc...@googlegroups.com
Jason Davis updated an issue
Change By: Jason Davis
Attachment: Template Tool Configuration Saved.png

medianick@gmail.com (JIRA)

unread,
Oct 18, 2018, 9:49:02 AM10/18/18
to jenkinsc...@googlegroups.com
Nick Jones commented on Bug JENKINS-41428
 
Re: Tool Location Configuration Removed when Configuring System

Yes – I just observed same behavior here. In our case, it was the MSBuild.exe locations (we're a .NET shop), so it's definitely specific to the vSphere plugin, not Git. We're using vSphere 2.18 and Jenkins 2.138.2 LTS.

This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

pjdarton@gmail.com (JIRA)

unread,
Aug 15, 2019, 11:59:02 AM8/15/19
to jenkinsc...@googlegroups.com
pjdarton started work on Bug JENKINS-41428
 
Change By: pjdarton
Status: Open In Progress

pjdarton@gmail.com (JIRA)

unread,
Aug 15, 2019, 12:03:02 PM8/15/19
to jenkinsc...@googlegroups.com
pjdarton commented on Bug JENKINS-41428

It looks like there's a problem in the WebUI "jelly" code that binds the UI to the data.
While I don't see why the code doesn't work as-is (as it's doing the same stuff as works elsewhere), I think it's a fairly trivial fix (especially as the docker plugin has a working example we can use for inspiration).

I've started work to fix this in PR#105. Those changes will likely go into the next release.

pjdarton@gmail.com (JIRA)

unread,
Aug 15, 2019, 12:05:04 PM8/15/19
to jenkinsc...@googlegroups.com

pjdarton@gmail.com (JIRA)

unread,
Sep 24, 2019, 11:26:03 AM9/24/19
to jenkinsc...@googlegroups.com
pjdarton resolved as Fixed
 

Fixed in plugin version 2.21, which was released a few minutes ago.

Change By: pjdarton
Status: In Progress Resolved
Assignee: pjdarton
Resolution: Fixed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages