non-hacky way to access current build

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major
    • Component/s: groovy-plugin
    • None

      documentation on https://wiki.jenkins-ci.org/display/JENKINS/Groovy+plugin explains how to retrieve the current build, as Thread.currentThread().executable.
      This looks like a hack, and an implementation detail.

      a variable bound to groovy shell, or a method to retrieve the current build would be far cleaner.

            Assignee:
            Nicolas De Loof
            Reporter:
            Nicolas De Loof
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: