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

Variable expansion in maven goals

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: maven-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Hi

      I had a Jenkins job, where I needed to calculate goals to be executed in a shell script. So I two pre-build steps:

      • shell script
      • inject environment variables (EnvInject)

      Then I wanted to put that variable into maven goals, like this:

      -o clean install -pl ${some_variable}
      

      This did not work. This change fixes that.

      Would be happy to know if this is ok, or should be fixed in some other way.

      Regards
      Marcin

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kohsuke Kohsuke Kawaguchi
                Reporter:
                marcin_cylke Marcin Cylke
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: