Hello Grails plugin users,

Does any one know if we can read env variables or run a unix/linux command 
in the grails parameters when we are in 'build with grails' option ?

Below is my scenario :

In Jenkins job config, I do 'build with grails'->grails 1.3.7->target : war

in Properties field, I want to pass the build number set by the 'execute 
shell' option (a step before).

but it's not reading the env variable..as grails by itself runs in seperate 
shell.

when build the war, I want to pass the last CL# as build.number to grails. 

some thing like build.number=$GRAILS_BUILD_NUMBER (set by the shell one 
step before)

or build.numer=`p4 changes -m 1 | cut -f2 -d' '`

grails treating it as plain text and doesn't execute a command nor read a 
variable.


Any ideas on to passing the build number when you choose 'build with 
grails' option ?


Thanks for your time and help.


--Venkat.


Reply via email to