[zorg] r286492 - Add timestamp to build.py footer
Tim Hammerquist via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 10 11:28:10 PST 2016
Author: penryu
Date: Thu Nov 10 13:28:10 2016
New Revision: 286492
URL: http://llvm.org/viewvc/llvm-project?rev=286492&view=rev
Log:
Add timestamp to build.py footer
It's frequently useful to determine the time delta a build.py
task takes. Short of restructuring build.py, this is a simple
way of providing the timestamp in the log.
Modified:
zorg/trunk/zorg/jenkins/build.py
Modified: zorg/trunk/zorg/jenkins/build.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/jenkins/build.py?rev=286492&r1=286491&r2=286492&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/build.py (original)
+++ zorg/trunk/zorg/jenkins/build.py Thu Nov 10 13:28:10 2016
@@ -5,6 +5,7 @@ import logging
import os
import subprocess
import datetime
+import time
import argparse
import shutil
import math
@@ -36,6 +37,7 @@ def header(name):
def footer():
+ print "Completed at: " + time.strftime("%FT%T")
print "@@@@@@"
More information about the llvm-commits
mailing list