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

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

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: grails-plugin
    • Labels:
      None
    • Environment:
      Grails plug 1.7 and Jenkins ver. 1.532.2
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          geogriffin Kurt Devlin added a comment -

          JENKINS-24629 and JENKINS-22508 are the same issue.

          Show
          geogriffin Kurt Devlin added a comment - JENKINS-24629 and JENKINS-22508 are the same issue.

            People

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

              Dates

              • Created:
                Updated: