Hi Kamal, Since your post appeared in google's archive as a continuation of my thread, it gives the impression that you were looking at my mail then replied with substituting your title for mine. If you didn't do that, maybe it's a bug somewhere, my apologies.
Bill Kamal Ahmed <[email protected]> wrote: > 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. > > > > >________________________________ > > From: BillR <[email protected]> > >To: [email protected] > >Cc: Kamal Ahmed <[email protected]> > >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 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. > > > >
