Re: [Declarative Pipeline] Cant use 'path' as parameter name

2017-01-13 Thread Daniel Beck
You're overriding the PATH environment variable. Don't do that. Same with 'User', 'Home', and a few other parameter names you could think of. (Yes, it should be case sensitive, but Jenkins doesn't treat it as such internally.) > On 13.01.2017, at 07:38, Dan Tran wrote: > > The below pipe will

[Declarative Pipeline] Cant use 'path' as parameter name

2017-01-12 Thread Dan Tran
The below pipe will work at first checkout, after that it will fait where jenkins git not able to checkout. looks like 'path' interfere with local env path? pipeline { parameters { string(defaultValue: 'cs/xx', description: 'Path to git path - ex cs/cbs', name: 'path') }