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

Promotion Plugin fails to run many different promotion actions

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • promoted-builds-plugin
    • None
    • Platform: All, OS: All

      I am creating this as a master issue to track many individual faults / patches

      The promotion plugin show (when configuring a promotion) a number of possible
      actions to perform when a build is promoted. Many of the actions which are
      listed and can be configured do not actually run upon a promotion.

      Primarily this occurs when the BuildStep extends BuildStepCompatibilityLayer and
      does not override perform(AbstractBuild, Launcher, BuildListener) method so the
      BuildStep uses the implementation in BuildStepCompatibilityLayer which checks to
      see if the build is an instanceof Build, and then becuase it is not for a
      promotion build simply returns true without doing anything.

      Fixing this (and other causes of non-actions) for various BuildSteps will be
      done as dependent issues below this one.

          [JENKINS-2576] Promotion Plugin fails to run many different promotion actions

          brucechapman added a comment -

          all sub issues to date are now signed off.

          Are there any more?

          Should we create an issue to fix the problem where the promoted builds plugin
          shows some actions as available but then can't actually run them. that is
          prevent the 2597 fix stuff even being needed because those actions that 2576
          fails at run time wouldn't ever be able to be selected as promotion actions.

          brucechapman added a comment - all sub issues to date are now signed off. Are there any more? Should we create an issue to fix the problem where the promoted builds plugin shows some actions as available but then can't actually run them. that is prevent the 2597 fix stuff even being needed because those actions that 2576 fails at run time wouldn't ever be able to be selected as promotion actions.

          jminne added a comment -

          Another action that fails to run.

          jminne added a comment - Another action that fails to run.

            Unassigned Unassigned
            brucechapman brucechapman
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: