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

In Maven Project, copy config files runs AFTER pre-Build Steps provided by M2 Extra Steps Plugin

XMLWordPrintable

      We use M2 Extra Build steps to provide preprocessing for certain maven projects. However, we cannot use the configuration files provided by config file provider to provide settings files for these pre-build steps, since config file provider runs AFTER them.

      Reproduction:

      • Create a Maven Project
      • insert a pre build step
      • activate "Provide configuration files"

      Run the Project

      Expected result:

      config files are copied before prebuild step runs

      Actual result:

      The prebuild step runs (failing if it depends on the config file), copy files afterwards.

      Possible solutions:

      1) Change the order of the wrappers
      2) (prefered) change m2 extra steps plugin to use config File provider.

            domi Dominik Bartholdi
            paux Stephan Pauxberger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: