Pipeline (Remote File Loader) - limit scope of variables defined in remote scripts

2016-06-25 Thread Pavel Georgiev
Hi, I'm using the remote file loader to load pipeline scripts from GIT. Each script represents a different test scenario i need deploy and test. A given remote file looks like this: def x, y, z def initialize() { set x set y set z } def setupEnv() { get y to do something } def runTests(

Re: Issue with running csh commands in the jenkins "Execute Shell" commands

2016-06-25 Thread sivarajesh jarugula
Thanks Martin for your help. I do not have any aliases. I got away with the error by adding -f switch as follows: #!/bin/csh *-f* On Sat, Jun 25, 2016 at 3:48 AM, Martin d'Anjou wrote: > Check the contents of the .cshrc file, there is probably something setting > or loading aliases there. Yo

Re: withCredentials not working in multibranch project?

2016-06-25 Thread Vincent Latombe
Use ${env.SETTINGS_LOCATION} in your groovy string. Vincent 2016-06-24 21:29 GMT+02:00 Matias Montes : > I am at this exact same point trying to figure it out, but it looks like > this simply cannot be done at the moment :( > > El viernes, 10 de junio de 2016, 9:56:42 (UTC-3), Michael Irwin esc

System groovy build step with support for external libraries via grab

2016-06-25 Thread Krunal Patel
hi. Looking for some help regarding running build step "Run system groovy script". I want the best of both worlds: get access to Jenkins JVM and all it's objects like "build" but also be able to Grab dependencies. Whenever I try this, I get back "java.lang.NoClassDefFoundError: org/apache/ivy