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

Last Changes plugin looking for .git in wrong location

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: last-changes-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.150.3
      Last Changes Plugin 2.6.8
    • Similar Issues:

      Description

      Receiving error:

      00:00:04.421 Publishing build last changes...

      00:00:04.422 ERROR: Last Changes NOT published due to the following error: Could not find previous head of repository located at /var/lib/jenkins/jobs/omni-pipeline/branches/release-3-8.d1f6no/builds/28/.git. Its your first commit?

       

      The lastChangesPlugin appears to be looking for ".git" in jobs/.../branches/.../builds rather than in workspace.   This was with vcsDir: ''.    I've additionally tried providing it hints via a more explicit vcsDir, but it still seems to go looking in jobs directory.

       

       

       

       

       

        Attachments

        1. Jenkinsfile
          28 kB
        2. log
          3.23 MB

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            rmpestano Rafael Pestano
            Reporter:
            jbennett20912 Jeffrey Bennett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: