Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
d84eab7f
Commit
d84eab7f
authored
1 year ago
by
Jeremie Bresson
Browse files
Options
Download
Plain Diff
Merge remote-tracking branch 'origin/main' into 6.x
parents
70aa10df
4841eceb
6.x
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/org/gitlab4j/api/models/Pipeline.java
+9
-0
src/main/java/org/gitlab4j/api/models/Pipeline.java
src/test/resources/org/gitlab4j/api/pipeline.json
+2
-1
src/test/resources/org/gitlab4j/api/pipeline.json
with
11 additions
and
1 deletion
+11
-1
src/main/java/org/gitlab4j/api/models/Pipeline.java
+
9
-
0
View file @
d84eab7f
...
...
@@ -28,6 +28,7 @@ public class Pipeline {
private
Float
queuedDuration
;
private
String
webUrl
;
private
DetailedStatus
detailedStatus
;
private
String
name
;
public
Long
getId
()
{
return
id
;
...
...
@@ -207,6 +208,14 @@ public class Pipeline {
this
.
detailedStatus
=
detailedStatus
;
}
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
@Override
public
String
toString
()
{
return
(
JacksonJson
.
toJsonString
(
this
));
...
...
This diff is collapsed.
Click to expand it.
src/test/resources/org/gitlab4j/api/pipeline.json
+
2
-
1
View file @
d84eab7f
...
...
@@ -32,5 +32,6 @@
"favicon"
:
"/assets/ci_favicons/favicon_status_pending-5bdf338420e5221ca24353b6bff1c9367189588750632e9a871b7af09ff6a2ae.png"
},
"coverage"
:
"30.0"
,
"web_url"
:
"https://example.com/foo/bar/pipelines/46"
"web_url"
:
"https://example.com/foo/bar/pipelines/46"
,
"name"
:
"Custom pipeline name"
}
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets