Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Olivier Stasse
Gepetto Utils
Commits
834ed88c
Commit
834ed88c
authored
May 28, 2018
by
Guilhem Saurel
Browse files
doc.py: needs job name, in case of multiple jobs
parent
80988b95
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/doc.py
View file @
834ed88c
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment