Re: Learning Jenkins Groovy with Jenkins API

2015-02-25 Thread Les Mikesell
On Tue, Feb 24, 2015 at 2:52 AM, Sverre Moe wrote: > I have been using "Execute Groovy Script". Then it looks like I should be > using "System Groovy Script" instead. > Would a groovy script with Scriptler also have access to the Jenkins > internals? > I haven't used scriptler so I don't know wha

Re: Learning Jenkins Groovy with Jenkins API

2015-02-24 Thread Sverre Moe
I have been using "Execute Groovy Script". Then it looks like I should be using "System Groovy Script" instead. Would a groovy script with Scriptler also have access to the Jenkins internals? mandag 23. februar 2015 21.51.29 UTC+1 skrev LesMikesell følgende: > > On Mon, Feb 23, 2015 at 9:19 AM,

Re: Learning Jenkins Groovy with Jenkins API

2015-02-23 Thread Les Mikesell
On Mon, Feb 23, 2015 at 9:19 AM, Sverre Moe wrote: > Found the example on the web. Much of the Groovy examples I have seen > entailed using the Jenkins Remote API. I want to use the Jenkins API, > running the Groovy script inside jenkins. > > Haven't found any example how to get the build process.

Re: Learning Jenkins Groovy with Jenkins API

2015-02-23 Thread Sverre Moe
:* jenkins...@googlegroups.com [mailto: > jenkins...@googlegroups.com ] *On Behalf Of *Sverre Moe > *Sent:* Monday, February 23, 2015 9:47 AM > *To:* jenkins...@googlegroups.com > *Subject:* Re: Learning Jenkins Groovy with Jenkins API > > > > Forgot to m

RE: Learning Jenkins Groovy with Jenkins API

2015-02-23 Thread Rob Mandeville
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Sverre Moe Sent: Monday, February 23, 2015 9:47 AM To: jenkinsci-users@googlegroups.com Subject: Re: Learning Jenkins Groovy with Jenkins API Forgot to mention the error message I got while running the Groovy script in my build process: Caught

Re: Learning Jenkins Groovy with Jenkins API

2015-02-23 Thread Sverre Moe
Forgot to mention the error message I got while running the Groovy script in my build process: Caught: groovy.lang.MissingPropertyException: No such property: executable for class: java.lang.Thread groovy.lang.MissingPropertyException: No such property: executable for class: java.lang.Thread