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

Environment variables for build session not available for use in plugin text fields.

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • cloudfoundry-plugin
    • None
    • Windows or Linux server

      When using the plugin Environment variables are not seed correctly using the standard token syntax for Jenkins provided by the token-macro plugin. This is a show stopper for our projects as we need to pass org and space information dynamically using parameters to jobs.

      For a parameter "space" The error is:

      Cloud Foundry Plugin:
      java.lang.IllegalArgumentException: No matching organization and space found for org: my-organization space: ${space}
      

          [JENKINS-31208] Environment variables for build session not available for use in plugin text fields.

          Jason Barrios created issue -
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 166394 ] New: JNJira + In-Review [ 182385 ]
          Romain Schlick made changes -
          Description Original: When using the plugin Environment variables are not seed correctly using the standard token syntax for Jenkins provided by the token-macro plugin. This is a show stopper for our projects as we need to pass org and space information dynamically using parameters to jobs. New: When using the plugin Environment variables are not seed correctly using the standard token syntax for Jenkins provided by the token-macro plugin. This is a show stopper for our projects as we need to pass org and space information dynamically using parameters to jobs.

          The error is:

          {code:java}
          Cloud Foundry Plugin:
          java.lang.IllegalArgumentException: No matching organization and space found for org: my-organization space: $
          {space}
          {code}
          Romain Schlick made changes -
          Description Original: When using the plugin Environment variables are not seed correctly using the standard token syntax for Jenkins provided by the token-macro plugin. This is a show stopper for our projects as we need to pass org and space information dynamically using parameters to jobs.

          The error is:

          {code:java}
          Cloud Foundry Plugin:
          java.lang.IllegalArgumentException: No matching organization and space found for org: my-organization space: $
          {space}
          {code}
          New: When using the plugin Environment variables are not seed correctly using the standard token syntax for Jenkins provided by the token-macro plugin. This is a show stopper for our projects as we need to pass org and space information dynamically using parameters to jobs.

          For a parameter "space" The error is:

          {code:java}
          Cloud Foundry Plugin:
          java.lang.IllegalArgumentException: No matching organization and space found for org: my-organization space: ${space}
          {code}
          Olivier Lamy made changes -
          Remote Link New: This issue links to "Page (Jenkins Wiki)" [ 17281 ]
          Steven Swor made changes -
          Assignee Original: William Gautier [ williamg ] New: Steven Swor [ sworisbreathing ]
          Steven Swor made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Steven Swor made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Steven Swor made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]

            sworisbreathing Steven Swor
            jasonbarrios Jason Barrios
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: