Spaces in JOB_NAME problematic

XMLWordPrintable

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: gant-plugin
    • None
    • Environment:
      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 '\ '.

            Assignee:
            Unassigned
            Reporter:
            Steve Christou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: