Answers for "jenkins script console for checking groovy version"

0

jenkins script console for checking groovy version

public String getGroovyVersion() {
        try {
                return org.codehaus.groovy.runtime.InvokerHelper.version
        }
        catch (Throwable ignore) { }
        return GroovySystem.version
}

println getGroovyVersion()
Posted by: Guest on May-04-2022

Browse Popular Code Answers by Language