[JIRA] (JENKINS-30680) Make Custom Tools compatible with Pipeline

1 view
Skip to first unread message

o.v.nenashev@gmail.com (JIRA)

unread,
Jan 11, 2017, 3:16:04 AM1/11/17
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
 
Jenkins / New Feature JENKINS-30680
Make Custom Tools compatible with Pipeline
Change By: Oleg Nenashev
Summary: Make CustomToolInstallWrapper Custom Tools compatible with Pipeline
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

o.v.nenashev@gmail.com (JIRA)

unread,
Jan 11, 2017, 3:16:05 AM1/11/17
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Jan 11, 2017, 3:16:05 AM1/11/17
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Priority: Minor Major

o.v.nenashev@gmail.com (JIRA)

unread,
Jan 11, 2017, 3:16:06 AM1/11/17
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Issue Type: New Feature Epic

o.v.nenashev@gmail.com (JIRA)

unread,
Jan 11, 2017, 3:18:01 AM1/11/17
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Epic Name: Custom Tools - Pipeline Compatibility

o.v.nenashev@gmail.com (JIRA)

unread,
Dec 12, 2018, 4:04:03 AM12/12/18
to jenkinsc...@googlegroups.com
Oleg Nenashev assigned an issue to Unassigned
Change By: Oleg Nenashev
Assignee: Oleg Nenashev
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

o.v.nenashev@gmail.com (JIRA)

unread,
Dec 12, 2018, 4:06:02 AM12/12/18
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on Epic JENKINS-30680
 
Re: Make Custom Tools compatible with Pipeline

Just to set expectation, I do not have time to work on it anytime soon due to the lack of time. Some bits have been delivered for JCasC support though. I will likely have to mark the plugin for adoption.  

If somebody is interested to take over the plugin, please let me know. There is also an option to add the Plugin revamp as a Google Summer of Code project idea. I will be happy to do it if somebody wants to be a co-mentor

max-jenkins@lasevich.net (JIRA)

unread,
Apr 13, 2020, 3:22:03 PM4/13/20
to jenkinsc...@googlegroups.com

out of curiosity, what is wrong with just using it via current "tool" step support? Why do we need a custom step for this?

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

tom.gl@free.fr (JIRA)

unread,
Apr 14, 2020, 4:34:04 AM4/14/20
to jenkinsc...@googlegroups.com

out of curiosity, what is wrong with just using it via current "tool" step support? Why do we need a custom step for this?

Using a Custom Tool from a Pipeline (with "tool") kind of works; the tool gets installed, and you get back the path to its homedir.  But:

  • if the tool declares extra PATH entries (for instance for a "bin" sub-folder), you must know it, and set the PATH+BLAH accordingly in your "withEnv" wrapper arguments
  • if the tool declares other extra environment variables, you must know it too, and explicitly define them in your Pipeline, again using "withEnv"

So basically, you must be aware of some internal details of the Custom Tool definition, and replicate them in your Pipeline. (And that's just what I find annoying for my use cases, but I don't use all features of Custom Tools; I've never played with "versions", I don't know how they work in a Pipeline context.)

Reply all
Reply to author
Forward
0 new messages