-
Bug
-
Resolution: Unresolved
-
Minor
-
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.
I pushed my fix for this a while back:
https://github.com/jenkinsci/git-plugin/pull/330
Feedback would be appreciated.