Lines Matching full:branch
73 def fetch_artifact(branch, build, pattern, destination='.'): argument
77 branch: string, branch to pull build artifacts from
84 fetch_artifact_path, '--branch', branch, '--target',
122 def download_img_zip(branch, build, destination='.'): argument
126 branch: string, branch to pull build artifacts from (e.g. "sc-v2-dev")
134 logging.info('Downloading %s mapping file from branch %s build %s...' %
135 (ver, branch, build))
137 fetch_artifact(branch, build, artifact_pattern, temp_dir)
322 '--branch',
323 help='Branch to pull build from. e.g. "sc-v2-dev"')
391 if args.img_zip and args.branch:
392 sys.exit('Error: only one of --img-zip and --branch can be set')
395 elif args.branch:
396 img_zip = download_img_zip(args.branch, args.build, destination=temp_dir)
398 sys.exit('Error: either one of --img-zip and --branch must be set')