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

Support sub directories checkout

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: last-changes-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 1.656
      last-changes 1.0.1
    • Similar Issues:

      Description

      Currently the plugin only support jobs that checkout the root project in workspace because the plugin tries to reads .git directory in workspace root to infer current revision. As Jenkins support git clone to workspace sub directories the plugin is failing to retrieve git revision to perform the diff.

      Note that with svn projects it is ok cause the plugin is resolving current revision looking at repository itself instead of job workspace as is done in git.

        Attachments

          Activity

          Show
          rmpestano Rafael Pestano added a comment - Hi Ebrahim Moshaya , can you test this snapshot: http://maven.jenkins-ci.org:8081/content/repositories/snapshots/org/jenkins-ci/plugins/last-changes/1.0.3-SNAPSHOT/last-changes-1.0.3-20160727.122653-5.hpi It should now support .git dir in workspace sub directories.
          Hide
          rmpestano Rafael Pestano added a comment - - edited

          note that the plugin will only look into sub directories relative to workspace (although git plugin can clone into absolute dirs).

          Show
          rmpestano Rafael Pestano added a comment - - edited note that the plugin will only look into sub directories relative to workspace (although git plugin can clone into absolute dirs).
          Hide
          emoshaya_cognitoiq Ebrahim Moshaya added a comment -

          thanks Rafael Pestano this works with subdirectories now

          Show
          emoshaya_cognitoiq Ebrahim Moshaya added a comment - thanks Rafael Pestano this works with subdirectories now
          Hide
          rmpestano Rafael Pestano added a comment -

          good news! thanks you .

          Show
          rmpestano Rafael Pestano added a comment - good news! thanks you .
          Hide
          rmpestano Rafael Pestano added a comment -

          Fixed for 1.0.3

          Show
          rmpestano Rafael Pestano added a comment - Fixed for 1.0.3

            People

            • Assignee:
              rmpestano Rafael Pestano
              Reporter:
              rmpestano Rafael Pestano
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: