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

Parametrized build doesn't set environment variables in Mutli-configuration projects

      Steps to reproduce:

      1. Create a new Multi-configuration project
      2. Enable "This project is parameterized"
      3. Add parameters (I tried choices, strings, boolean)
      4. Add "Execute shell" build step with `env` command
      5. Save and "Build with Parameters"

      The `env` output will not contain any parameters set on step (3), while it should and it used to work fine on Jenkins 1.x.

          [JENKINS-35024] Parametrized build doesn't set environment variables in Mutli-configuration projects

          Vlad Frolov created issue -
          Vlad Frolov made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Ashish Behl made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Ashish Behl made changes -
          Link New: This issue is blocked by JENKINS-35921 [ JENKINS-35921 ]
          Ashish Behl made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 171234 ] New: JNJira + In-Review [ 199060 ]

            huybrechts huybrechts
            freol Vlad Frolov
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: