upstream changeset info in the email-ext notify from downstream project

2012-07-23 Thread michael chiu
Hi ALL, I found many article from you about jenkins email-ext . Can you give me some advice about upstream changeset . I have 2 projects build and test . I would like to include upstream changeset info when downstream is failed in the email notification . I have used the groov

Re: upstream changeset info in the email-ext notify from downstream project

2012-07-25 Thread michael chiu
I don't know how to get upstream's changeset in email-ext . Do you know how to access upstream's changeset in groovy in email-ext ? Varghese Renny於 2012年7月23日星期一UTC+8下午8時24分26秒寫道: > > > From my opinion you can use promotion plugin in upstream job, for sending > the build details about the downst

Aggregate downstream test results

2012-07-26 Thread michael chiu
est script for this aggregate function ? Michael Chiu

how to read a slave log into email-ext via groovy script template

2012-07-30 Thread michael chiu
hi ALL , I add the following script in the email-ext groovy for reading the failed_case.html into the mail body. It works if I run job on the master node[linux]. <% def failed_case = new File(build.getWorkspace().getRemote()+ '\\failed_case.html') println f

Re: how to read a slave log into email-ext via groovy script

2012-07-30 Thread michael chiu
hi slide, Can you kindly show me some example about reading files ? I only find some article about build.getLog(100) . Michael Chiu slide於 2012年7月30日星期一UTC+8下午6時15分09秒寫道: > > template > MIME-Version: 1.0 > Content-Type: multipart/alternative; >

how to read the content of a file in the remote workspace via groovy postbuild plugin

2012-07-30 Thread michael chiu
Hi ALL I am trying to read the content of a file in the remote workspace using the GroovyPostbuild Plugin. It seem i have to use FilePath to access the remote file . does anyone have similar experience on this ? or give me a example ? Thanks in advanced. Michael Chiu

Re: upstream changeset info in the email-ext notify from downstream project

2012-07-30 Thread michael chiu
ream build . def changeSet = null changeSet = build.changeSet if(upstreamBuild != null) { // now do stuff with that upstream build changeSet = upstreamBuild.changeSet } michael chiu於 2012年7月23日星期一UTC+8下午7時52分19秒寫道: > > Hi ALL, >I foun

Re: how to read the content of a file in the remote workspace via groovy postbuild plugin

2012-08-02 Thread michael chiu
ailed_case* michael chiu於 2012年7月31日星期二UTC+8下午12時17分41秒寫道: > > Hi ALL > I am trying to read the content of a file in the remote > workspace using the GroovyPostbuild Plugin. It seem i have to use FilePath > to access the remote file . does anyone have similar experience

miss changelist number in email-ext plug-in with Perforce

2012-08-02 Thread michael chiu
'm using the lastest email-ext plugins and perforce plugin in Jenkins 1.465 ? Regards, Michael Chiu

how to write a file via post-build groovy plug in slave

2012-08-08 Thread michael chiu
hi ALL, Does anyone have experience in write a file in the slave workspace via post-build groovy plugins ? I know how to read it but I don't know how to write it back . I always got the following error groovy.lang.MissingMethdexception: No signature of me