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

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

    XMLWordPrintable

    Details

    • 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

          Hide
          vjuranek vjuranek added a comment -

          Can reproduce, will look on it hopefully soon. Thanks

          Show
          vjuranek vjuranek added a comment - Can reproduce, will look on it hopefully soon. Thanks
          Hide
          vjuranek vjuranek added a comment -

          Fixed, will be in next release.

          Show
          vjuranek vjuranek added a comment - Fixed, will be in next release.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: