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

Set grails.work.dir to something unique by default

    Details

    • Similar Issues:

      Description

      I have a lot of Grails projects built by Jenkins and I got strange problems because I did not know I had to specify unique grails.work.dir for each project.
      If I leave grails.work.dir blank all grails projects are built in $HOME/.grails/1.3.7/projects/workspace causing a mixup.
      Can grails.work.dir be set automatically from the build name or something? If that is not possible, it must be documented that grails.work.dir is not really optional. You must specify a unique dir for each project, otherwise you can get into trouble.

        Attachments

          Issue Links

            Activity

            Hide
            alxndrsn Alex Anderson added a comment -

            Is this still an issue?

            Show
            alxndrsn Alex Anderson added a comment - Is this still an issue?
            Hide
            candrews candrews added a comment -

            It is definitely still an issue.

            Show
            candrews candrews added a comment - It is definitely still an issue.
            Hide
            mtakacs Mark Takacs added a comment - - edited

            I'd actually like the ability to do this as well.

            Consider two builds (one from a legacy branch, one from a current branch). Both builds will store their work.dir stuff in the same location, causing confusion.

            see http://jira.grails.org/browse/GRAILS-5359

            Show
            mtakacs Mark Takacs added a comment - - edited I'd actually like the ability to do this as well. Consider two builds (one from a legacy branch, one from a current branch). Both builds will store their work.dir stuff in the same location, causing confusion. see http://jira.grails.org/browse/GRAILS-5359
            Hide
            alxndrsn Alex Anderson added a comment -

            I've fixed this locally, will try to get a pull request together. My previous pull request to this plugin has been ignored for 5 months though, so might not appear any time soon on the official version.

            Show
            alxndrsn Alex Anderson added a comment - I've fixed this locally, will try to get a pull request together. My previous pull request to this plugin has been ignored for 5 months though, so might not appear any time soon on the official version.
            Hide
            alxndrsn Alex Anderson added a comment - - edited

            Available here: https://github.com/jenkinsci/grails-plugin/pull/3 (mixed with another pull request, fixing JENKINS-8535 - will happily separate if required).

            Show
            alxndrsn Alex Anderson added a comment - - edited Available here: https://github.com/jenkinsci/grails-plugin/pull/3 (mixed with another pull request, fixing JENKINS-8535 - will happily separate if required).
            Hide
            tomc Tom Crossland added a comment -

            See also JENKINS-20583

            Show
            tomc Tom Crossland added a comment - See also JENKINS-20583

              People

              • Assignee:
                jeffg2one jeffg2one
                Reporter:
                goeh Goran Ehrsson
              • Votes:
                3 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: