Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
9401aace
Unverified
Commit
9401aace
authored
Mar 08, 2022
by
Gautier de Saint Martin Lacaze
Committed by
GitHub
Mar 08, 2022
Browse files
Merge pull request #807 from krische/pipline-info-on-mr
Include Pipeline data in Merge Request model
parents
0947d1fa
64be2a28
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/MergeRequest.java
View file @
9401aace
...
@@ -41,6 +41,7 @@ public class MergeRequest {
...
@@ -41,6 +41,7 @@ public class MergeRequest {
private
Boolean
mergeWhenPipelineSucceeds
;
private
Boolean
mergeWhenPipelineSucceeds
;
private
String
mergeError
;
private
String
mergeError
;
private
Milestone
milestone
;
private
Milestone
milestone
;
private
Pipeline
pipeline
;
private
Integer
projectId
;
private
Integer
projectId
;
private
String
sha
;
private
String
sha
;
private
Boolean
shouldRemoveSourceBranch
;
private
Boolean
shouldRemoveSourceBranch
;
...
@@ -311,6 +312,14 @@ public class MergeRequest {
...
@@ -311,6 +312,14 @@ public class MergeRequest {
this
.
milestone
=
milestone
;
this
.
milestone
=
milestone
;
}
}
public
Pipeline
getPipeline
()
{
return
pipeline
;
}
public
void
setPipeline
(
Pipeline
pipeline
)
{
this
.
pipeline
=
pipeline
;
}
public
Integer
getProjectId
()
{
public
Integer
getProjectId
()
{
return
projectId
;
return
projectId
;
}
}
...
...
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