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

groovy-axis should accept an array of GString

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • groovyaxis-plugin
    • None

      I tried a script like this:

      return "this${1}"

      And the groovy-axis plugin considers this not a string, and treats it as ['default'].

      Since GString is essentially a language construct for groovy, I'd expect them to be treated as string here, even though they are technically a different type.

      I think you'd only have to call toString() in the returned objects to deal with this.

            emanuelez emanuelez
            trejkaz trejkaz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: