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

git-client plugin does not push back changes to origin, even though it looks like it

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • git-client-plugin
    • None

      I set a job to poll certain git-branches, and merge these onto master.
      I set the job use ppost-build action git push back changes to push the merged branch onto origin after successful build.

      Everything seems ok from the log:

      Pushing HEAD to branch master of origin repository
      Opening connection
      Counting objects
      Finding sources
      Writing objects
      

      but if I check the master branch which should have been pushed to it does not contain the merge.

      Also see this thread which seems to be much the same, however it refer to non-existing git-client versions:
      http://jenkins-ci.361315.n4.nabble.com/Git-publisher-fails-to-push-td4659177.html

            ndeloof Nicolas De Loof
            davidkarlsen2 David Karlsen
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: