Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add getBuildStages API #784

Merged
merged 1 commit into from
Mar 24, 2023
Merged

Add getBuildStages API #784

merged 1 commit into from
Mar 24, 2023

Conversation

llxia
Copy link
Contributor

@llxia llxia commented Mar 24, 2023

This is the first step of resolve #777. In this PR, we build the structure to call Jenkins API (using getBuildStages as an example). In the future PR, we will insert the stage info into DB, so that we can analyze all build stages info.

related: #777

related: adoptium#777

Signed-off-by: Lan Xia <[email protected]>
@netlify
Copy link

netlify bot commented Mar 24, 2023

Deploy Preview for eclipsefdn-adoptium-trss ready!

Name Link
🔨 Latest commit 2280a8f
🔍 Latest deploy log https://app.netlify.com/sites/eclipsefdn-adoptium-trss/deploys/641e10f7efa92a0008f31c25
😎 Deploy Preview https://deploy-preview-784--eclipsefdn-adoptium-trss.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@llxia
Copy link
Contributor Author

llxia commented Mar 24, 2023

local test:

{
_links: {
self: {
href: "/view/Test_grinder/job/Grinder/31928/wfapi/describe"
},
artifacts: {
href: "/view/Test_grinder/job/Grinder/31928/wfapi/artifacts"
}
},
id: "31928",
name: "#31928",
status: "SUCCESS",
startTimeMillis: 1679686416598,
endTimeMillis: 1679688469829,
durationMillis: 2053231,
queueDurationMillis: 56,
pauseDurationMillis: 0,
stages: [
{
_links: {
self: {
href: "/view/Test_grinder/job/Grinder/31928/execution/node/8/wfapi/describe"
}
},
id: "8",
name: "Queue",
execNode: "",
status: "SUCCESS",
startTimeMillis: 1679686422412,
durationMillis: 23705,
pauseDurationMillis: 0
},
{
_links: {
self: {
href: "/view/Test_grinder/job/Grinder/31928/execution/node/30/wfapi/describe"
}
},
id: "30",
name: "Setup",
execNode: "",
status: "SUCCESS",
startTimeMillis: 1679686446117,
durationMillis: 67139,
pauseDurationMillis: 0
},
{
_links: {
self: {
href: "/view/Test_grinder/job/Grinder/31928/execution/node/58/wfapi/describe"
}
},
id: "58",
name: "setupParallelEnv",
execNode: "",
status: "SUCCESS",
startTimeMillis: 1679686513570,
durationMillis: 71281,
pauseDurationMillis: 0
},
{
_links: {
self: {
href: "/view/Test_grinder/job/Grinder/31928/execution/node/102/wfapi/describe"
}
},
id: "102",
name: "Parallel Tests",
execNode: "",
status: "SUCCESS",
startTimeMillis: 1679686589166,
durationMillis: 1879796,
pauseDurationMillis: 0
}
]
}

@llxia llxia requested a review from smlambert March 24, 2023 21:10
@llxia llxia added the enhancement New feature or request label Mar 24, 2023
@karianna karianna merged commit 1162cdc into adoptium:master Mar 24, 2023
@smlambert
Copy link
Contributor

Thanks @llxia !! I will update the GSoC proposal wiki page to reference this new feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add queue time information
3 participants