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

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

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • git-plugin
    • None

    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

          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
          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

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

            Dates

              Created:
              Updated:
              Resolved: