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

Add ability to not push to remote if build does not pass

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Add the ability to push only if the build succeeds - not going to bother with treating unstable differently than failure for now, because that always drives me batty.

        Attachments

          Activity

          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_hudson-git-plugin #18
          JENKINS-7176 Added option to GitPublisher to only push if build succeeds - applies to all configured pushes for now. May change that to a per-push configuration option.

          Andrew Bayer :
          Files :

          • src/main/java/hudson/plugins/git/GitPublisher.java
          • src/main/resources/hudson/plugins/git/GitPublisher/config.jelly
          • src/main/resources/hudson/plugins/git/GitPublisher/help-pushOnlyIfSuccess.html
          Show
          dogfood dogfood added a comment - Integrated in plugins_hudson-git-plugin #18 JENKINS-7176 Added option to GitPublisher to only push if build succeeds - applies to all configured pushes for now. May change that to a per-push configuration option. Andrew Bayer : Files : src/main/java/hudson/plugins/git/GitPublisher.java src/main/resources/hudson/plugins/git/GitPublisher/config.jelly src/main/resources/hudson/plugins/git/GitPublisher/help-pushOnlyIfSuccess.html

            People

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

              Dates

              • Created:
                Updated:
                Resolved: