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

JIRA Generate Release Notes needs default Environment Variable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • jira-plugin
    • Jenkins 1.609.1.1 (CB 15.05)
      Windows Server 2008 R2 x64 Slave
      Java 1.8.0_60
      JIRA Plugin 2.0.2

      Generate Release Notes needs to require the Environment Variable field to be set or provide a default as when that field is empty, Windows jobs fail with java.io.IOException: CreateProcess error=87, The parameter is incorrect.

      Steps to Reproduce:

      1. Create a Freestyle Job
      2. Enable Generate Release Notes and do not fill in the Environment Variable field
      3. Add a build step to Execute Windows batch command put set in the command
        • The single set command should print the environment on a successful run
      4. Run the build and it should error out when trying to execute cmd with java.io.IOException: CreateProcess error=87, The parameter is incorrect.

            Unassigned Unassigned
            peter_nordquist Peter Nordquist
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: