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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • groovy-plugin
    • None

      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.

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

              Created:
              Updated:
              Resolved: