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

within build step, missing option to not run further build steps if triggered builds fail or are unstable

      When used as post build step, there is an option to not run further build steps if triggered builds fail or are unstable.
      This option should also be available when used as build step.

          [JENKINS-12791] within build step, missing option to not run further build steps if triggered builds fail or are unstable

          dimidimi added a comment - - edited

          +1
          i'm trying workaround with conditional build step by checking current build status and parametrized build step but downstream projects information breaks and multi-configuration projects fail to build.
          anyway, thank you for this great plugin!

          dimidimi added a comment - - edited +1 i'm trying workaround with conditional build step by checking current build status and parametrized build step but downstream projects information breaks and multi-configuration projects fail to build. anyway, thank you for this great plugin!

          cjo9900 added a comment -

          Closing as when used as a "Trigger/call builds on other project" build step you need to select the "Block until the triggered projects finish their builds" item which then allows you to fail the build step if the triggered jobs have particular results.
          See element: "Fail this build step if the triggered build is worse or equal to" config

          And as default behaviour is to fail the build at the first failed buildstep it prevents later buildsteps from running.
          Note: if you want different behaviours for different triggered projects, you would add multiple triggers for each project.

          cjo9900 added a comment - Closing as when used as a "Trigger/call builds on other project" build step you need to select the "Block until the triggered projects finish their builds" item which then allows you to fail the build step if the triggered jobs have particular results. See element: "Fail this build step if the triggered build is worse or equal to" config And as default behaviour is to fail the build at the first failed buildstep it prevents later buildsteps from running. Note: if you want different behaviours for different triggered projects, you would add multiple triggers for each project.

            cjo9900 cjo9900
            jenuser7 Dieter Schüle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: