Inject env. vars in a pre-build step of a Maven project does not work

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

XMLWordPrintable

      You can "inject environment variables" in the "Build Environment" section, or as a build step.

      In a Maven project type, when I use a build step (pre build step in this case), the properties were not available in the maven step, whereas it worked when I used the Build Environment setting.

      In a Freestyle project, both version worked.

      Expected: A Pre build step "Inject Environment Variables" in a Maven Project should make those properties available to the main Maven build step

            Assignee:
            Gregory Boissinot
            Reporter:
            Marc Günther
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: