Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b9c93596
Commit
b9c93596
authored
Nov 08, 2021
by
Cleveland Bledsoe Jr
Committed by
Marcel Amirault
Nov 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update pipelines api docs
parent
d9ac7ef1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
9 deletions
+15
-9
doc/api/jobs.md
doc/api/jobs.md
+1
-1
doc/api/pipelines.md
doc/api/pipelines.md
+8
-8
doc/user/analytics/ci_cd_analytics.md
doc/user/analytics/ci_cd_analytics.md
+6
-0
No files found.
doc/api/jobs.md
View file @
b9c93596
...
@@ -294,7 +294,7 @@ Example of response
...
@@ -294,7 +294,7 @@ Example of response
]
]
```
```
In GitLab 13.3 and later, this endpoint
[
returns data for any pipeline
](
pipelines.md#
single-pipeline-requests
)
In GitLab 13.3 and later, this endpoint
[
returns data for any pipeline
](
pipelines.md#
get-a-single-pipeline
)
including
[
child pipelines
](
../ci/pipelines/parent_child_pipelines.md
)
.
including
[
child pipelines
](
../ci/pipelines/parent_child_pipelines.md
)
.
In GitLab 13.5 and later, this endpoint does not return retried jobs in the response
In GitLab 13.5 and later, this endpoint does not return retried jobs in the response
...
...
doc/api/pipelines.md
View file @
b9c93596
...
@@ -6,14 +6,6 @@ info: To determine the technical writer assigned to the Stage/Group associated w
...
@@ -6,14 +6,6 @@ info: To determine the technical writer assigned to the Stage/Group associated w
# Pipelines API **(FREE)**
# Pipelines API **(FREE)**
## Single Pipeline Requests
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/36494) in GitLab 13.3.
Endpoints that request information about a single pipeline return data for any pipeline.
Before 13.3, requests for
[
child pipelines
](
../ci/pipelines/parent_child_pipelines.md
)
returned
a 404 error.
## Pipelines pagination
## Pipelines pagination
By default,
`GET`
requests return 20 results at a time because the API results
By default,
`GET`
requests return 20 results at a time because the API results
...
@@ -23,6 +15,9 @@ Read more on [pagination](index.md#pagination).
...
@@ -23,6 +15,9 @@ Read more on [pagination](index.md#pagination).
## List project pipelines
## List project pipelines
List pipelines in a project. Child pipelines are not included in the results,
but you can
[
get child pipeline
](
pipelines.md#get-a-single-pipeline
)
individually.
```
plaintext
```
plaintext
GET /projects/:id/pipelines
GET /projects/:id/pipelines
```
```
...
@@ -79,6 +74,11 @@ Example of response
...
@@ -79,6 +74,11 @@ Example of response
## Get a single pipeline
## Get a single pipeline
Get one pipeline from a project.
You can also get a single
[
child pipeline
](
../ci/pipelines/parent_child_pipelines.md
)
.
[
Introduced
](
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/36494
)
in GitLab 13.3.
```
plaintext
```
plaintext
GET /projects/:id/pipelines/:pipeline_id
GET /projects/:id/pipelines/:pipeline_id
```
```
...
...
doc/user/analytics/ci_cd_analytics.md
View file @
b9c93596
...
@@ -21,6 +21,12 @@ View pipeline duration history:
...
@@ -21,6 +21,12 @@ View pipeline duration history:
![
Pipeline duration
](
img/pipelines_duration_chart.png
)
![
Pipeline duration
](
img/pipelines_duration_chart.png
)
Pipeline statistics are gathered by collecting all available pipelines for the
project regardless of status. The data available for each individual day is based
on when the pipeline was created. The total pipeline calculation includes child
pipelines and pipelines that failed with invalid YAML. If you are interested in
filtering pipelines based on other attributes, consider using the
[
Pipelines API
](
../../api/pipelines.md#list-project-pipelines
)
.
## DevOps Research and Assessment (DORA) key metrics **(ULTIMATE)**
## DevOps Research and Assessment (DORA) key metrics **(ULTIMATE)**
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/275991) in GitLab 13.7.
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/275991) in GitLab 13.7.
...
...
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