Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add example responses for Blue Ocean pipeline activities, favorite, q…
…ueue, run node step, and SCM.
- Loading branch information
Showing
15 changed files
with
1,183 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
[ | ||
{ | ||
"_class":"swaggyjenkins.PipelineActivity", | ||
"changeSet":[ | ||
|
||
], | ||
"artifacts":[ | ||
{ | ||
"name":"fizz", | ||
"size":8, | ||
"url":"/jenkins/job/pipeline1/1/artifact/dir/fizz" | ||
} | ||
], | ||
"durationInMillis":1875, | ||
"estimatedDurationInMillis":567, | ||
"enQueueTime":"2016-03-10T15:27:13.687+1300", | ||
"endTime":"2016-03-10T15:27:15.567+1300", | ||
"id":"1", | ||
"organization":"jenkins", | ||
"pipeline":"feature1", | ||
"result":"SUCCESS", | ||
"runSummary":"stable", | ||
"startTime":"2016-03-10T15:27:13.692+1300", | ||
"state":"FINISHED", | ||
"type":"WorkflowRun", | ||
"commitId":"52615df5828f1dddf672b86d64196294e3fbee88" | ||
}, | ||
{ | ||
"_class":"swaggyjenkins.PipelineActivity", | ||
"changeSet":[ | ||
|
||
], | ||
"durationInMillis":1716, | ||
"estimatedDurationInMillis":567, | ||
"enQueueTime":"2016-03-10T15:27:13.692+1300", | ||
"endTime":"2016-03-10T15:27:15.409+1300", | ||
"id":"1", | ||
"organization":"jenkins", | ||
"pipeline":"master", | ||
"result":"SUCCESS", | ||
"runSummary":"stable", | ||
"startTime":"2016-03-10T15:27:13.693+1300", | ||
"state":"FINISHED", | ||
"type":"WorkflowRun", | ||
"commitId":"bfd1f72dc63ca63a8c1b152dc9263c7c81862afa" | ||
}, | ||
{ | ||
"_class":"swaggyjenkins.PipelineActivity", | ||
"changeSet":[ | ||
|
||
], | ||
"durationInMillis":1714, | ||
"estimatedDurationInMillis":567, | ||
"enQueueTime":"2016-03-10T15:27:13.700+1300", | ||
"endTime":"2016-03-10T15:27:15.415+1300", | ||
"id":"1", | ||
"organization":"jenkins", | ||
"pipeline":"feature2", | ||
"result":"SUCCESS", | ||
"runSummary":"stable", | ||
"startTime":"2016-03-10T15:27:13.701+1300", | ||
"state":"FINISHED", | ||
"type":"WorkflowRun", | ||
"commitId":"84cb56b50589e720385ef2491a1ebab9d227da6e" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"_class":"io.jenkins.blueocean.service.embedded.rest.FavoriteImpl", | ||
"_links":{ | ||
"self":{ | ||
"_class":"io.jenkins.blueocean.rest.hal.Link", | ||
"href":"/blue/rest/organizations/jenkins/pipelines/pipeline1/favorite/" | ||
} | ||
}, | ||
"item":{ | ||
"displayName":"pipeline1", | ||
"_links":{ | ||
"runs":{ | ||
"href":"/blue/rest/organizations/jenkins/pipelines/pipeline1/runs/", | ||
"_class":"io.jenkins.blueocean.rest.hal.Link" | ||
}, | ||
"self":{ | ||
"href":"/blue/rest/organizations/jenkins/pipelines/pipeline1/", | ||
"_class":"io.jenkins.blueocean.rest.hal.Link" | ||
}, | ||
"queue":{ | ||
"href":"/blue/rest/organizations/jenkins/pipelines/pipeline1/queue/", | ||
"_class":"io.jenkins.blueocean.rest.hal.Link" | ||
}, | ||
"actions":{ | ||
"_class":"io.jenkins.blueocean.rest.hal.Link", | ||
"href":"/blue/rest/organizations/jenkins/pipelines/pipeline1/actions/" | ||
} | ||
}, | ||
"organization":"jenkins", | ||
"latestRun":null, | ||
"name":"pipeline1", | ||
"actions":[ | ||
|
||
], | ||
"weatherScore":100, | ||
"_class":"io.jenkins.blueocean.service.embedded.rest.PipelineImpl", | ||
"fullName":"pipeline1", | ||
"estimatedDurationInMillis":-1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
[ | ||
{ | ||
"_class":"io.jenkins.blueocean.service.embedded.rest.QueueItemImpl", | ||
"expectedBuildNumber":4, | ||
"id":"4", | ||
"pipeline":"pipeline1", | ||
"queuedTime":1465433910205 | ||
}, | ||
{ | ||
"_class":"io.jenkins.blueocean.service.embedded.rest.QueueItemImpl", | ||
"expectedBuildNumber":3, | ||
"id":"3", | ||
"pipeline":"pipeline1", | ||
"queuedTime":1465433910203 | ||
}, | ||
{ | ||
"_class":"io.jenkins.blueocean.service.embedded.rest.QueueItemImpl", | ||
"id":"64", | ||
"expectedBuildNumber":10, | ||
"pipeline":"bug%2FUX-334", | ||
"_links":{ | ||
"self":{ | ||
"_class":"io.jenkins.blueocean.rest.hal.Link", | ||
"href":"/blue/rest/organizations/jenkins/pipelines/bo2/queue/64/" | ||
} | ||
}, | ||
"queuedTime":"2016-06-29T14:11:52.191-0700" | ||
}, | ||
{ | ||
"id":"63", | ||
"_class":"io.jenkins.blueocean.service.embedded.rest.QueueItemImpl", | ||
"queuedTime":"2016-06-29T14:11:51.290-0700", | ||
"pipeline":"bug%2FUX-334", | ||
"_links":{ | ||
"self":{ | ||
"_class":"io.jenkins.blueocean.rest.hal.Link", | ||
"href":"/blue/rest/organizations/jenkins/pipelines/bo2/queue/63/" | ||
} | ||
}, | ||
"expectedBuildNumber":11 | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"_class":"swaggyjenkins.PipelineRun", | ||
"changeSet":[ | ||
|
||
], | ||
"artifacts":[ | ||
{ | ||
"name":"fizz", | ||
"size":8, | ||
"url":"/jenkins/job/pipeline1/1/artifact/dir/fizz" | ||
} | ||
], | ||
"durationInMillis":841, | ||
"estimatedDurationInMillis":567, | ||
"enQueueTime":"2016-03-16T09:02:26.492-0700", | ||
"endTime":"2016-03-16T09:02:27.339-0700", | ||
"id":"1", | ||
"organization":"jenkins", | ||
"pipeline":"pipeline1", | ||
"result":"SUCCESS", | ||
"runSummary":"stable", | ||
"startTime":"2016-03-16T09:02:26.498-0700", | ||
"state":"FINISHED", | ||
"type":"WorkflowRun", | ||
"commitId":null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
[ | ||
{ | ||
"_class":"io.jenkins.blueocean.rest.impl.pipeline.PipelineStepImpl", | ||
"_links":{ | ||
"self":{ | ||
"_class":"io.jenkins.blueocean.rest.hal.Link", | ||
"href":"/blue/rest/organizations/jenkins/pipelines/pipeline1/runs/1/steps/12/" | ||
}, | ||
"actions":{ | ||
"_class":"io.jenkins.blueocean.rest.hal.Link", | ||
"href":"/blue/rest/organizations/jenkins/pipelines/pipeline1/runs/1/steps/12/actions/" | ||
} | ||
}, | ||
"actions":[ | ||
|
||
], | ||
"displayName":"Wait for interactive input", | ||
"durationInMillis":81, | ||
"id":"12", | ||
"input":{ | ||
"_class":"io.jenkins.blueocean.rest.impl.pipeline.InputStepImpl", | ||
"_links":{ | ||
"self":{ | ||
"_class":"io.jenkins.blueocean.rest.hal.Link", | ||
"href":"/blue/rest/organizations/jenkins/pipelines/pipeline1/runs/1/steps/12/input/" | ||
} | ||
}, | ||
"id":"C51b52435b43a326d5d4f92c290a64d5", | ||
"message":"Please input branch to test against", | ||
"ok":"Proceed", | ||
"parameters":[ | ||
{ | ||
"_class":"hudson.model.StringParameterDefinition", | ||
"defaultParameterValue":{ | ||
"_class":"hudson.model.StringParameterValue", | ||
"name":"branch", | ||
"value":"master" | ||
}, | ||
"description":"", | ||
"name":"branch", | ||
"type":"StringParameterDefinition" | ||
} | ||
], | ||
"submitter":null | ||
}, | ||
"result":"UNKNOWN", | ||
"startTime":"2016-12-21T17:41:58.488+0530", | ||
"state":"PAUSED" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
[ | ||
{ | ||
"_class":"swaggyjenkins.PipelineRunNode", | ||
"displayName":"build", | ||
"durationInMillis":219, | ||
"edges":[ | ||
{ | ||
"id":"9" | ||
} | ||
], | ||
"id":"3", | ||
"result":"SUCCESS", | ||
"startTime":"2016-05-06T15:15:08.719-0700", | ||
"state":"FINISHED" | ||
}, | ||
{ | ||
"_class":"swaggyjenkins.PipelineRunNode", | ||
"displayName":"test", | ||
"durationInMillis":158, | ||
"edges":[ | ||
{ | ||
"id":"13" | ||
}, | ||
{ | ||
"id":"14" | ||
}, | ||
{ | ||
"id":"15" | ||
} | ||
], | ||
"id":"9", | ||
"result":"SUCCESS", | ||
"startTime":"2016-05-06T15:15:08.938-0700", | ||
"state":"FINISHED" | ||
}, | ||
{ | ||
"_class":"swaggyjenkins.PipelineRunNode", | ||
"displayName":"unit", | ||
"durationInMillis":127, | ||
"edges":[ | ||
{ | ||
"id":"35" | ||
} | ||
], | ||
"id":"13", | ||
"result":"SUCCESS", | ||
"startTime":"2016-05-06T15:15:08.942-0700", | ||
"state":"FINISHED" | ||
}, | ||
{ | ||
"_class":"swaggyjenkins.PipelineRunNode", | ||
"displayName":"integration", | ||
"durationInMillis":126, | ||
"edges":[ | ||
{ | ||
"id":"35" | ||
} | ||
], | ||
"id":"14", | ||
"result":"SUCCESS", | ||
"startTime":"2016-05-06T15:15:08.944-0700", | ||
"state":"FINISHED" | ||
}, | ||
{ | ||
"_class":"swaggyjenkins.PipelineRunNode", | ||
"displayName":"ui", | ||
"durationInMillis":137, | ||
"edges":[ | ||
{ | ||
"id":"35" | ||
} | ||
], | ||
"id":"15", | ||
"result":"SUCCESS", | ||
"startTime":"2016-05-06T15:15:08.945-0700", | ||
"state":"FINISHED" | ||
}, | ||
{ | ||
"_class":"swaggyjenkins.PipelineRunNode", | ||
"displayName":"deploy", | ||
"durationInMillis":47, | ||
"edges":[ | ||
|
||
], | ||
"id":"35", | ||
"result":"SUCCESS", | ||
"startTime":"2016-05-06T15:15:09.096-0700", | ||
"state":"FINISHED" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[ | ||
{ | ||
"_class":"io.jenkins.blueocean.rest.model.GenericResource", | ||
"displayName":"Shell Script", | ||
"durationInMillis":70, | ||
"id":"5", | ||
"result":"SUCCESS", | ||
"startTime":"2016-06-18T13:28:29.443+0900" | ||
}, | ||
{ | ||
"_class":"io.jenkins.blueocean.rest.model.GenericResource", | ||
"displayName":"Print Message", | ||
"durationInMillis":1, | ||
"id":"10", | ||
"result":"SUCCESS", | ||
"startTime":"2016-06-18T13:28:29.545+0900" | ||
}, | ||
{ | ||
"_class":"io.jenkins.blueocean.rest.model.GenericResource", | ||
"displayName":"Shell Script", | ||
"durationInMillis":265, | ||
"id":"11", | ||
"result":"SUCCESS", | ||
"startTime":"2016-06-18T13:28:29.546+0900" | ||
}, | ||
{ | ||
"_class":"io.jenkins.blueocean.rest.model.GenericResource", | ||
"displayName":"Shell Script", | ||
"durationInMillis":279, | ||
"id":"12", | ||
"result":"SUCCESS", | ||
"startTime":"2016-06-18T13:28:29.811+0900" | ||
} | ||
] |
Oops, something went wrong.