Re: Is there a way to get a tool's path value in pipeline?

2018-10-12 Thread Mark Waite
Since the git tool may be entirely internal to the Jenkins java code (as with JGit), I'm not sure that will be as portable as you want it to be. I don't know the answer to your specific question about the data available related to a specific tool. Mark Waite On Fri, Oct 12, 2018 at 2:32 PM

Is there a way to get a tool's path value in pipeline?

2018-10-12 Thread t3knoid
Typically I use checkout to checkout code from git. But sometimes I need to shell out and execute git. I can hardcode the path in my shell script or add the git directory in the PATH variable. I was thinking if there was a way to avoid that and use the configured git tool within Jenkins and