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

User Hudson Global environment variables not set with m2-extra-steps for Shell extra step

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • m2-extra-steps-plugin
    • None
    • Platform: All, OS: All

      I have a specific Global environment variables set in Hudson/Manage
      Hudson/Configure System/Global Properties, called TEST.

      When I use a 'Free style' Hudson job with a Shell script, I can use ${TEST} in my
      shell command.

      When it is defined in a m2 extra step, Shell script does not see the TEST variable
      (I did a set command on both case), whereas for ANT m2 extra step, ANT script see
      it.

            abayer Andrew Bayer
            abrugger abrugger
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: