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

Groovy plugin does not expand Hudson global property to reference groovy script file.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: groovy-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Steps:
      Create a .groovy file
      In a project, add a build "Execute system grooovy script"
      Choose Groovy script file
      Enter the path to the script using one of Hudson global property (referenced by $PROPERTY_NAME)

      The path is not expanded at execution.

      Expected:
      The $PROPERTY_NAME is correctly expanded, and can be expanded as an absolute path if it is one. This is what happens in "Execute Shell" build.

        Attachments

          Activity

            People

            • Assignee:
              vjuranek vjuranek
              Reporter:
              dmichonneau dmichonneau
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: