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

grails.work.dir is not respected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • grails-plugin
    • None

      The plugin currently ignores an "intentionally blank" value of the grails.work.dir setting. This seems strange to me. In the configuration options, the help text says:

      grails.work.dir: "Specify a value for the grails.work.dir system property (optional)"

      My expectation is that if I leave this option blank, then Jenkins should not even specify the "-Dgrails.work.dir=something" parameter when invoking grails. Currently this is not the case. I leave the parameter blank and yet Jenkins sets it automatically to [workspace]/target.

      If the user requires Jenkins to automatically set the value, this should be either be a different configuration option in the user interface, or the user should have to specify some kind of "(auto)" setting.

      Related issues:

      JENKINS-10266
      JENKINS-3601
      JENKINS-14345

            jeffg2one jeffg2one
            tomc Tom Crossland
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: