• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • s3-plugin
    • None

      Currently the S3 publish step runs regardless of build success or failure. It would be very useful to choose a build result condition, per source/destination pairing, under which the files will be published. The "Build other projects" post build action would be a good template for this. It offers three conditions - "Trigger only if build succeeds", "Trigger even if the build is unstable", and "Trigger even if the build fails".

          [JENKINS-14775] Add build result conditions to S3 publisher

          Chris Lasher added a comment -

          This is an old ticket, but putting this here in case it helps:

          There exists another Jenkins plugin called "Flexible Publish Plugin": https://wiki.jenkins-ci.org/display/JENKINS/Flexible+Publish+Plugin

          The Flexible Publish plugin adds a Post-build Action called "Flexible publish." You can set the conditional to "Current Build Status" is "Success" for both "Worst" and "Best", and then specify the action as the "Publish artifacts to S3 bucket" provided by this plugin.

          Chris Lasher added a comment - This is an old ticket, but putting this here in case it helps: There exists another Jenkins plugin called "Flexible Publish Plugin": https://wiki.jenkins-ci.org/display/JENKINS/Flexible+Publish+Plugin The Flexible Publish plugin adds a Post-build Action called "Flexible publish." You can set the conditional to "Current Build Status" is "Success" for both "Worst" and "Best", and then specify the action as the "Publish artifacts to S3 bucket" provided by this plugin.

          Ashok Manji added a comment -

          +1 - Would be great to have this Improvement implemented, as this is key limitation of the plugin.

          Ashok Manji added a comment - +1 - Would be great to have this Improvement implemented, as this is key limitation of the plugin.

            Unassigned Unassigned
            reichert Stephen Palmer
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: