Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
      None

      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.

        Issue Links

          Activity

          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.
          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?
          Hide
          abayer abayer 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 abayer 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.
          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 abayer 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 abayer 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.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: