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

Promotion Plugin fails to run many different promotion actions

XMLWordPrintable

    • 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.

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

              Created:
              Updated: