Logging builds and tests on linux

I like to keep a history of various operations so that I can compare them over time and with other systems.


START_TIME=`date +%s`
echo `date` 'building app' >> ~/bin/buildTiming.txt

#Do the build, deployment, tests, or whatever

echo `date` 'done building app ' $(echo `date +%s` - $START_TIME | bc) >> ~/bin/buildTiming.txt

Comments

Popular posts from this blog

Sites, Newsletters, and Blogs

Oracle JDBC ReadTimeout QueryTimeout