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

Git publisher pushes to early

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
      None
    • Environment:
      Windows Xp
    • Similar Issues:

      Description

      git publisher pushes to early.
      Whe've set git publisher to push only when build succeeds.
      The problem is that when the git publisher checks whether the status is succeeded this status can be still be changed, by test results or fxcop for instance.

      Would it be possible for the publisher to be the very last task after build.

      I've added the config and a result in the attachments to clarify.

      We're using http://ci.hudson-labs.org/job/plugins_hudson-git-plugin/28/org.jvnet.hudson.plugins$git/ .

        Attachments

        1. config.png
          config.png
          27 kB
        2. result.png
          result.png
          30 kB

          Activity

          Hide
          abayer Andrew Bayer added a comment -

          Seems reasonable - it's not 100% guaranteed, but I can set the Git publisher to run after all post-build plugins that don't specify anything in re: build ordering. I'll get that into the next release.

          Show
          abayer Andrew Bayer added a comment - Seems reasonable - it's not 100% guaranteed, but I can set the Git publisher to run after all post-build plugins that don't specify anything in re: build ordering. I'll get that into the next release.
          Hide
          abayer Andrew Bayer added a comment -

          Resolved in upcoming release.

          Show
          abayer Andrew Bayer added a comment - Resolved in upcoming release.
          Hide
          dogfood dogfood added a comment -
          Show
          dogfood dogfood added a comment - Integrated in plugins_hudson-git-plugin #35

            People

            • Assignee:
              abayer Andrew Bayer
              Reporter:
              anonymousultimo anonymousultimo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: