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

Cannot set an environment variable named "Configuration"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • pipeline
    • None
    • Jenkins version 2.176.1

      Attempting to use theĀ environment block to set an environment variable Configuration yields the error:

      org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
      WorkflowScript: 22: you tried to assign a value to the class 'jenkins.model.Configuration'
       @ line 22, column 25.
                                 Configuration="Release"
                                 ^
      

            Unassigned Unassigned
            braden Braden McDaniel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: