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

Unexpected behavior when selecting "Run scripts only ..." in a post-build action

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • postbuildscript-plugin
    • None
    • Jenkins 1.598; postbuildplugin 1.16; Linux 2.6.32-5-amd64; Google Chrome

      Selecting the "Run script only if all previous steps were successful" option for a post-build action results in unexpected behavior

      I have 4 post-build actions and none of them are configured are to have "Run script only if all previous steps were successful" turned on.

      If I then select "Run script only ..." to be on for steps #3 and #4 and save the configuration. When I go back in to the configuration, not only are steps #3 and #4 removed completely but steps #1 and #2 now have "Run script only ..." set to be on.

          [JENKINS-27089] Unexpected behavior when selecting "Run scripts only ..." in a post-build action

          How is it possible to have multiple "Execute a set of scripts" (multiple actions)?

          Gregory Boissinot added a comment - How is it possible to have multiple "Execute a set of scripts" (multiple actions)?

          Skip Williams added a comment -

          Sorry, this issue does not involve "Execute a set of scripts" but rather "Post build task". If I select "Post build task" from the "Add post-build action" dropdown, I can create multiple post build tasks and then I can get myself into the scenario originally described.

          Skip Williams added a comment - Sorry, this issue does not involve "Execute a set of scripts" but rather "Post build task". If I select "Post build task" from the "Add post-build action" dropdown, I can create multiple post build tasks and then I can get myself into the scenario originally described.

          This bug is a pretty big deal, and I'm very surprised it hasn't been fixed. This makes post-build tasks completely broken and useless to me, which is a blocker for my use-case.

          Nicholas Williams added a comment - This bug is a pretty big deal, and I'm very surprised it hasn't been fixed. This makes post-build tasks completely broken and useless to me, which is a blocker for my use-case.

          Daniel Heid added a comment -

          Should be fixed with JENKINS-30011

          Daniel Heid added a comment - Should be fixed with  JENKINS-30011

            gbois Gregory Boissinot
            skippahw Skip Williams
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: