Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-22508

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • grails-plugin
    • None
    • 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.

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

              Created:
              Updated: