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

Run conditions should be passed Launcher object

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Not A Defect
    • Icon: Major Major
    • run-condition-plugin
    • None

      Run conditions should be passed Launcher object so that the conditions may be allowed to run scripts within the build, e.g call a Shell or groovy script.

      Current implementations are

      public abstract boolean runPrebuild(final AbstractBuild<?, ?> build, final BuildListener listener) throws Exception;

      public abstract boolean runPerform(final AbstractBuild<?, ?> build, final BuildListener listener) throws Exception;

      These should be extended to
      (final AbstractBuild<?, ?> build, final BuildListener listener, final Launcher launcher)

            cjo9900 cjo9900
            cjo9900 cjo9900
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: