Re: How to get Start time, End time, Duration of a job

2012-04-23 Thread fdegir
Hi, startTime=`date` # rest of the job endTime=`date` getDuration() ${JCLI} groovy = < somefile /Fatih On Apr 23, 3:36 pm, Dirk Kuypers wrote: > Hi, > > 2012/4/23 Vinayak : > > > How can I get Start time, End time, Duration of a job. > > I want to print on console at the end or in a particula

Re: How to get Start time, End time, Duration of a job

2012-04-23 Thread Dirk Kuypers
Hi, 2012/4/23 Vinayak : > How can I get Start time, End time, Duration of a job. > I want to print on console at the end or in a particular file. > Is there any environment variables or plugins are available..? do you really want o print into a file? I use the groovy postbuild plugin https://wiki

How to get Start time, End time, Duration of a job

2012-04-23 Thread Vinayak
Hi All, How can I get Start time, End time, Duration of a job. I want to print on console at the end or in a particular file. Is there any environment variables or plugins are available..? Thanks, Vinayak