Re: Scriptler Question

2012-03-26 Thread domi
Since version 2.2 Scriptler also has a builder: 
https://wiki.jenkins-ci.org/display/JENKINS/Scriptler+Plugin#ScriptlerPlugin-Builder
With this one its possible to add Scriptler build steps to any job (if you'r 
given the right permissions…).
I think the only thing missing is probably a direct variable exposing the build 
into a variable - I can add that feature if you need it, please open a feature 
request so we can track it.
domi

On 26.03.2012, at 20:14, James Carr wrote:

> Is there an easy way to setup scriptler so that it can modify files in
> the the project workspace?
> 
> I kept trying System.getenv('WORKSPACE') but to no avail.
> 
> Thanks,
> James



Re: Scriptler Question

2012-03-26 Thread HARDION Vincent
Hi,

Scriptler is not linked to any project (it's the convenient way of system 
script )
What 's why this variable is empty.


I think this variable is only available when running from a build like with the 
groovy script plugin.

BR

@vhardion


Le 26 mars 2012 à 20:15, "James Carr"  a écrit :

> Is there an easy way to setup scriptler so that it can modify files in
> the the project workspace?
> 
> I kept trying System.getenv('WORKSPACE') but to no avail.
> 
> Thanks,
> James