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

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          paux Stephan Pauxberger created issue -
          domi Dominik Bartholdi made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          jieryn jieryn made changes -
          Component/s config-file-provider [ 16140 ]
          Component/s config-file-provider-plugin [ 15904 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 140972 ] JNJira + In-Review [ 189363 ]
          markewaite Mark Waite made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              Created:
              Updated:
              Resolved: