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

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

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              marc_guenther Marc G√ľnther
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: