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

Groovy-Plugin does not expand Job-Parameters

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: groovy-plugin
    • Labels:
      None
    • Environment:
      Windows, Jenkins 1.413, Groovy Plugin 1.8
    • Similar Issues:

      Description

      If I create a text parameter "test" in a Job and configure the Groovy Plugin to call a script with this parameter, it is not expanded:

      Groovy Script file: test.groovy
      Script parameters: $

      {test}

      Will result in:

      <pathToGroovy>/bin/groovy.bat <Workspace>/test.groovy ${test}

      System properties like MAVEN_HOME are expanded as expected when passed as $

      {MAVEN_HOME}

      .

      The same works great with the maven build.

        Attachments

          Activity

            People

            • Assignee:
              vjuranek vjuranek
              Reporter:
              mvonrenteln Marc von Renteln
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: