-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
Windows Server 2008 R2
I'm having an issue with the environment variable JOB_NAME, I want to get the job name and use it in a report file for gant, the only problem gant fails to continue because an argument -D with any kind of space is invalid.
Ex: The job name is: Complete violations job
-f c:\test.groovy
-D job_name=%JOB_NAME%
report_violations
This will fail to continue because job_name has a space and will think that there are more arguments, I was wondering if there was any way the environment variables could be passed maybe with the '\ '.