support maven.local.repo.tail

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      It would be really nice to support maven.local.repo.tail directly in the withMaven parameters.

      Usage scenario:

      • have a build-only pipeline step that runs
      maven install -DskipTests
      • Have multiple parallel test steps that mount the repo built by the first step as read-only.
        But it seems e.g. surefire need rw repo access.

      Thus it would be really nice to be able to use the maven.local.repo.tail property.
      More information on that here: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=235837219

      Example:

       

      withMaven(mavenLocalRepo:".repository",mavenLocalTailRepos:"$SHARED_WORKSPACE/.repository,$GLOBAL_CACHE_LOCATION")
      {  ... }
      

       

       

      The clause should maybe even fail the step if maven < 3.9 is used.

            Assignee:
            Unassigned
            Reporter:
            Thilo
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: