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

Last Changes plugin looking for .git in wrong location

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • last-changes-plugin
    • None
    • Jenkins 2.150.3
      Last Changes Plugin 2.6.8

      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.

       

       

       

       

       

        1. Jenkinsfile
          28 kB
          Jeffrey Bennett
        2. log
          3.23 MB
          Jeffrey Bennett

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

              Created:
              Updated: