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

          abayer Andrew Bayer created issue -
          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
          abayer Andrew Bayer made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          markewaite Mark Waite made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 137274 ] JNJira + In-Review [ 204447 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: