Commit 834ed88c authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

doc.py: needs job name, in case of multiple jobs

parent 80988b95
......@@ -20,7 +20,7 @@ if __name__ == '__main__':
f.write(head.read())
for project, namespace, branch in sorted(requests.get(f'{RAINBOARD}/doc').json()['ret']):
url = f'{GITLAB}/{namespace}/{project}/-/jobs/artifacts/{branch}/download'
url = f'{GITLAB}/{namespace}/{project}/-/jobs/artifacts/{branch}/download?job=robotpkg-{project}-16.04'
path = DOC / namespace / project / branch
r = requests.get(url, {'job': f'robotpkg-{project}-{VERSION}'}, stream=True)
try:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment