Details

    • Similar Issues:

      Description

      I have noticed that it is not possible to control where Hudson stores the GIT repository. It is always in workspace. In the subversion module you can specify a subdirectory relative to the workspace so you can get subversion will checkout the codebase to ${workspace}/source for example. Please add a similar feature to the GIT plugin.

        Attachments

          Issue Links

            Activity

            dordrak dordrak created issue -
            wolfc Carlo de Wolf made changes -
            Field Original Value New Value
            Attachment 0001-JENKINS-6357-allow-specification-of-a-relative-target.patch [ 19400 ]
            Hide
            wolfc Carlo de Wolf added a comment -

            Attached patch introduces an extra configuration variable:

            • relative target directory

            The value of this configuration variable is appended to the workspace and then used as the working directory for git operations.

            Show
            wolfc Carlo de Wolf added a comment - Attached patch introduces an extra configuration variable: relative target directory The value of this configuration variable is appended to the workspace and then used as the working directory for git operations.
            asinglepixel asinglepixel made changes -
            Link This issue duplicates JENKINS-4535 [ JENKINS-4535 ]
            Hide
            dordrak dordrak added a comment -

            The patch looks good. Can it be integrated?

            Show
            dordrak dordrak added a comment - The patch looks good. Can it be integrated?
            abayer Andrew Bayer made changes -
            Assignee magnayn [ magnayn ] abayer [ abayer ]
            Hide
            abayer Andrew Bayer added a comment -

            Fixed in latest at github.com/hudson/Hudson-GIT-plugin - not sure when the next release will be, but this will be included.

            Show
            abayer Andrew Bayer added a comment - Fixed in latest at github.com/hudson/Hudson-GIT-plugin - not sure when the next release will be, but this will be included.
            abayer Andrew Bayer made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            abayer Andrew Bayer made changes -
            Link This issue is duplicated by JENKINS-4535 [ JENKINS-4535 ]
            Hide
            dordrak dordrak added a comment -

            Are there any instructions on how to install the plugin from github.com manually? I really need this feature sooner than later.

            Show
            dordrak dordrak added a comment - Are there any instructions on how to install the plugin from github.com manually? I really need this feature sooner than later.
            Hide
            abayer Andrew Bayer added a comment -

            Clone git://github.com/hudson/Hudson-GIT-plugin.git, run "mvn clean install", and then upload the git.hpi file in the target subdirectory to your Hudson install, from the Advanced tab on the Manage Plugins page.

            Or, actually, as I think about it, you can download the latest build from http://ci.hudson-labs.org/job/plugins_hudson-git-plugin/lastSuccessfulBuild/org.jvnet.hudson.plugins$git - you want the git.hpi.

            I'm hoping to have a release ready in the next week or so - I'm in the process of rewriting the tag/push logic at the moment, so I need to finish that up first.

            Show
            abayer Andrew Bayer added a comment - Clone git://github.com/hudson/Hudson-GIT-plugin.git, run "mvn clean install", and then upload the git.hpi file in the target subdirectory to your Hudson install, from the Advanced tab on the Manage Plugins page. Or, actually, as I think about it, you can download the latest build from http://ci.hudson-labs.org/job/plugins_hudson-git-plugin/lastSuccessfulBuild/org.jvnet.hudson.plugins$git - you want the git.hpi. I'm hoping to have a release ready in the next week or so - I'm in the process of rewriting the tag/push logic at the moment, so I need to finish that up first.
            abayer Andrew Bayer made changes -
            Link This issue is duplicated by JENKINS-7102 [ JENKINS-7102 ]
            abayer Andrew Bayer made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 136452 ] JNJira + In-Review [ 204046 ]

              People

              • Assignee:
                abayer Andrew Bayer
                Reporter:
                dordrak dordrak
              • Votes:
                7 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: