grails.work.dir breaks if the job has spaces in the name

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: grails-plugin
    • None
    • Environment:
      Grails plug 1.7 and Jenkins ver. 1.532.2

      If your workspace has spaces in the name then it breaks the wordir param.

      It uses "-Dgrails.work.dir=/var/lib/jenkins/jobs/Job With Spaces/workspace//target" by default with that quoting and so breaks.

      Should have single quotes around the directroy. Setting the grails.work.dir manually to '${WORKSPACE}/.grails' with the single quotes in the interface seems to work around the issue but is a bit of a hack.

            Assignee:
            jeffg2one
            Reporter:
            john cooper
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: