Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
a52d9c30
Unverified
Commit
a52d9c30
authored
Apr 24, 2022
by
Nikita Titov
Committed by
GitHub
Apr 24, 2022
Browse files
[ci] Update version of Azure REST API (#5172)
parent
52daf4d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
docs/_static/js/script.js
docs/_static/js/script.js
+2
-2
No files found.
docs/_static/js/script.js
View file @
a52d9c30
...
@@ -62,9 +62,9 @@ $(function() {
...
@@ -62,9 +62,9 @@ $(function() {
/* Initialize artifacts badge */
/* Initialize artifacts badge */
modifyBadge
(
'
./_static/images/artifacts-fetching.svg
'
,
'
#
'
);
modifyBadge
(
'
./_static/images/artifacts-fetching.svg
'
,
'
#
'
);
/* Fetch latest buildId and construct artifacts badge */
/* Fetch latest buildId and construct artifacts badge */
$
.
getJSON
(
'
https://dev.azure.com/lightgbm-ci/lightgbm-ci/_apis/build/builds?branchName=refs/heads/master&resultFilter=succeeded&queryOrder=finishTimeDescending&%24top=1&api-version=
5.0
-preview.
5
'
,
function
(
data
)
{
$
.
getJSON
(
'
https://dev.azure.com/lightgbm-ci/lightgbm-ci/_apis/build/builds?branchName=refs/heads/master&resultFilter=succeeded&queryOrder=finishTimeDescending&%24top=1&api-version=
7.1
-preview.
7
'
,
function
(
data
)
{
modifyBadge
(
'
./_static/images/artifacts-download.svg
'
,
modifyBadge
(
'
./_static/images/artifacts-download.svg
'
,
'
https://dev.azure.com/lightgbm-ci/lightgbm-ci/_apis/build/builds/
'
+
data
[
'
value
'
][
0
][
'
id
'
]
+
'
/artifacts?artifactName=PackageAssets&api-version=
5.0
-preview.5&%24format=zip
'
);
'
https://dev.azure.com/lightgbm-ci/lightgbm-ci/_apis/build/builds/
'
+
data
[
'
value
'
][
0
][
'
id
'
]
+
'
/artifacts?artifactName=PackageAssets&api-version=
7.1
-preview.5&%24format=zip
'
);
});
});
}
}
});
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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