Hi,
AFAIK you have access to the whole JVM and you can do pretty much anything. As
for your examples just give it a try. java.lang.* is automatically imported so
you could eg. run the following script:
println("getenv: " + System.getenv())
println("current thread: " + Thread.currentThread())
For further Groovy reference see http://groovy.codehaus.org/Home
BR,
Samuli
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of cscooper
Sent: 9. lokakuuta 2013 1:36
To: [email protected]
Subject: Groovy objects?
I'm new to Groovy scripting in Jenkins and I'm not clear on what objects are
available.
For example, in my System Groovy Script I'm allowed to refer to
System.getenv() and Thread.currentThread() but what classes are the System and
Thread objects? Where can I find documentation so I know what cool things I
can do?
Thanks,
Chris
--
View this message in context:
http://jenkins-ci.361315.n4.nabble.com/Groovy-objects-tp4678652.html
Sent from the Jenkins users mailing list archive at Nabble.com.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.