print("Triggering timing builds for {} with Iris base commit {} and test commit {} using ad-hoc ID {}...".format(project_name,base_commit[:8],test_commit[:8],id))
print("Triggering timing builds for {} with Iris base commit {} and test commit {} using ad-hoc ID {}...".format(project_name,job.base_commit[:8],job.test_commit[:8],job.id))
print(" Base pipeline running at {}".format(job.base_pipeline))
ifargs.test_revisNone:
print(" Test pipeline running at {}".format(job.test_pipeline))
else:
print(" Test pipeline (on non-standard branch {}) running at {}".format(args.test_rev,job.test_pipeline))
print(" Once done, timing comparison will be available at {}".format(job.compare))
# Dispatch
if__name__=="__main__":
...
...
@@ -152,7 +173,7 @@ if __name__ == "__main__":
parser_build.add_argument('filter',nargs='?',default='',help='(optional) restrict build to projects matching the filter')
parser_time=subparsers.add_parser('time',help='Time one reverse dependency against an Iris branch')
parser_time.add_argument("project",help="the project to measure the time of")
parser_time.add_argument("project",help="the project to measure the time of, or 'all' to measure all of them")
parser_time.add_argument("--test-rev",help="use different revision on project for the test build (in case the project requires changes to still build)")