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

    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

          dmichonneau dmichonneau created issue -
          vjuranek vjuranek made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 138151 ] JNJira + In-Review [ 187868 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: