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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: postbuildscript-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.598; postbuildplugin 1.16; Linux 2.6.32-5-amd64; Google Chrome
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          gbois Gregory Boissinot added a comment -

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

          Show
          gbois Gregory Boissinot added a comment - How is it possible to have multiple "Execute a set of scripts" (multiple actions)?
          Hide
          skippahw 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.

          Show
          skippahw 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.
          Hide
          beamerblvd 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.

          Show
          beamerblvd 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.
          Hide
          dheid Daniel Heid added a comment -

          Should be fixed with JENKINS-30011

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: