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

Git Publisher cannot append notes to remote repos

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • git-plugin
    • None

      When using notes in Git Publisher, the first note pushed to a repository works fine. If the workspace is cleaned and the build is run again, Publisher fails with a merge conflict.

      This happens because clone/fetch/pull do not pull notes by default. Trying to push a note to the same node (e.g. refs/notes/build) causes a merge conflict. The notes need to be explicitly fetched before the new note is appended.

          [JENKINS-23082] Git Publisher cannot append notes to remote repos

          I pushed my fix for this a while back:

          https://github.com/jenkinsci/git-plugin/pull/330

          Feedback would be appreciated.

          David McFarland added a comment - I pushed my fix for this a while back: https://github.com/jenkinsci/git-plugin/pull/330 Feedback would be appreciated.

            Unassigned Unassigned
            atomicopossum Michael Kahn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: