Quoting Kamal Ahmed <kamal2222ah...@yahoo.com>:
Bill,
How is this Hijacking when:
1. I am not aware of your question when i post.
2. The post i have from you is:
I'd like to run 2 mvn cmds in the same test - the 2nd one
retries failure cases from files left by the 1st:
mvn [params]
mvn [params] -Dretry-=failed
Is there any way to do this?
Thanks,
Bill
with Subject :Re: run 2 maven cmds?
3. Are you trying the same groovy script, or getting the same error
? if so i can help. Since i resolved it by myself
Thanks,
-Kamal.
You hijacked this thread in exactly the same way as you have just
hijacked the thread with subject "LTS 1.466.1 RC1 testing"
Don't reply to an email if you are asking an unrelated question -
create a new e-mail
Bap.
-------------------------
FROM: BillR <r...@cgl.ucsf.edu>
TO: jenkinsci-users@googlegroups.com
CC: Kamal Ahmed <kamal2222ah...@yahoo.com>
SENT: Friday, July 20, 2012 1:07 PM
SUBJECT: Re: groovy script error No such property: manager for class
You might try starting your own thread, instead of hijacking mine
by changing the title.
(Mine was about running 2 mvn cmds for 1 job.)
Bill
On Thursday, July 19, 2012 6:25:48 PM UTC-7, Kamal Ahmed
wrote: > Hi, Is there a working example of groovy
script for jenkins that i can use, so i know what methods are
available for use
I used:
def matcher = manager.getLogMatcher(".*Total time: (.*)\$")
if(matcher?.matches()) { manager.addShortText(matcher.
group(1), "grey", "white", "0px", "white") }in the Groovy Command
text box, and got the following error:Started by user anonymous[1]
Building in workspace /var/lib/jenkins/jobs/CM-MOCK-
TEST1/workspace [workspace] $ groovy
/var/lib/jenkins/jobs/CM-MOCK- TEST1/workspace/
hudson1529437829169554915. groovy Caught: groovy.lang.
MissingPropertyException: No such property: manager for class:
hudson1529437829169554915 at hudson1529437829169554915.run(
hudson1529437829169554915. groovy:1) Build step 'Execute Groovy
script' marked build as failure Notifying upstream projects of job
completion Finished: FAILURE
Thanks,
-Kamal.
Links:
------
[1] http://10.88.29.159:8080/user/null