[zorg] r366740 - [monorepo_build] Also write GIT_DISTANCE to the last_good_build.properties file
Azharuddin Mohammed via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 22 14:24:18 PDT 2019
Author: azhar
Date: Mon Jul 22 14:24:18 2019
New Revision: 366740
URL: http://llvm.org/viewvc/llvm-project?rev=366740&view=rev
Log:
[monorepo_build] Also write GIT_DISTANCE to the last_good_build.properties file
Modified:
zorg/trunk/zorg/jenkins/monorepo_build.py
Modified: zorg/trunk/zorg/jenkins/monorepo_build.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/jenkins/monorepo_build.py?rev=366740&r1=366739&r2=366740&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/monorepo_build.py (original)
+++ zorg/trunk/zorg/jenkins/monorepo_build.py Mon Jul 22 14:24:18 2019
@@ -650,6 +650,7 @@ def build_upload_artifact():
new_url = conf.job_name + "/" + artifact_name
with open(prop_file, 'w') as prop_fd:
+ prop_fd.write("GIT_DISTANCE={}\n".format(conf.git_distance))
prop_fd.write("GIT_SHA={}\n".format(conf.git_sha))
prop_fd.write("ARTIFACT={}\n".format(new_url))
More information about the llvm-commits
mailing list