strider
Version:
Brilliant continuous deployment platform
218 lines (217 loc) • 6.01 kB
JSON
{
"jobs": [{
"type": "TEST_ONLY",
"id": "be2342ef08798ab898c",
"user_id": "asd345",
"project": "test/project",
"ref": {
"branch": "master",
"id": "abc324bca"
},
"trigger": {
"type": "commit",
"author": {
"id": "asdfk234sdf",
"url": "https://google.com",
"name": "Jared Forsyth",
"email": "jared@jaredforsyth.com",
"image": "http://google.com/favicon.png",
"username": "jaredly"
},
"message": "Making it awesome",
"timestamp": "Sat Sep 14 2013 12:00:02 GMT-0600 (MDT)",
"url": "http://example.com/commit/1",
"source": {
"type": "plugin",
"plugin": "github"
}
},
"phases": {
"environment": {
"finished": "Sat Sep 14 2013 12:00:02 GMT-0600 (MDT)",
"exitCode": 0,
"commands": [{
"started": "Sat Sep 14 2013 12:00:02 GMT-0600 (MDT)",
"command": "nvm use 0.10",
"plugin": "node",
"out": "Ready",
"err": "",
"merged": "Ready"
}, {
"started": "Sat Sep 14 2013 12:00:02 GMT-0600 (MDT)",
"command": "mongod &",
"plugin": "mongo",
"out": "Started Mongo\nYeah!",
"err": "",
"merged": "Started Mongo\nYeah!"
}]
},
"prepare": {
"finished": "Sat Sep 14 2013 12:12:39 GMT-0600 (MDT)",
"exitCode": 0,
"commands": [{
"started": "Sat Sep 14 2013 12:00:02 GMT-0600 (MDT)",
"command": "npm install --force",
"plugin": "node",
"out": "Everything has been installed",
"err": "",
"merged": "Everything has been installed"
}, {
"started": "Sat Sep 14 2013 12:00:02 GMT-0600 (MDT)",
"command": "component install --dev",
"plugin": "component",
"out": "Components have been installed",
"err": "",
"merged": "Components have been installed"
}]
},
"test": {
"finished": "Sat Sep 14 2013 12:12:39 GMT-0600 (MDT)",
"exitCode": 0,
"commands": [{
"started": "Sat Sep 14 2013 12:00:02 GMT-0600 (MDT)",
"command": "npm test",
"plugin": "node",
"out": "here\nwe\n\njave\nsome\noutput\nacross\nmultiple lines",
"err": "",
"merged": "here\nwe\n\njave\nsome\noutput\nacross\nmultiple lines"
}]
}
},
"plugin_data": {},
"std": {
"out": "we are ignoring this for now ;)",
"err": "",
"merged": "we are ignoring this for now ;)"
},
"created": "Sat Sep 14 2013 12:00:02 GMT-0600 (MDT)",
"queued": "Sat Sep 14 2013 12:00:02 GMT-0600 (MDT)",
"started": "Sat Sep 14 2013 12:00:02 GMT-0600 (MDT)",
"finished": "Sat Sep 14 2013 12:00:02 GMT-0600 (MDT)",
"duration": 30,
"archived": null,
"test_exitcode": 0,
"deploy_exticode": null,
"errored": false
}],
"project": {
"name": "test/project",
"secret": "this-is-a-secret?",
"provider": {
"id": "github",
"config": {
"url": "example.com/my.git",
"display_url": "http://example.com/my",
"auth": {
"type": "https"
}
}
},
"branches": {
"master": {
"plugins": [
{
"id": "webhooks",
"enabled": true,
"config": [{
"url": "google.com",
"format": null,
"secret": "dontlook"
}]
}
],
"pubkey": "my public key",
"privkey": "my private key",
"public": true,
"active": true,
"deploy_on_green": true,
"deploy_on_pull_request": false,
"runner": {
"id": "simple-runner",
"config": {
"pty": false
}
}
},
"otherbranch": "master",
"custombranch": {
"plugins": [
{
"id": "webhooks",
"enabled": true,
"config": [{
"url": "differenturl.com"
}]
},
{
"id": "go",
"enabled": false,
"config": {
"runtime": "0.10"
}
}
],
"runner": {
"id": "docker",
"config": {
"pty": false,
"container": "ubuntu"
}
}
}
}
},
"provider": {
"id": "github",
"title": "Github",
"inline_icon": "github",
"html": "<h4>I will provide</h4> [[ config ]] <input ng-model='config.url'> <button class='btn' ng-click='save()'>Save</button>",
"controller": "ProviderController"
},
"runners": {
"simple-runner": {
"title": "Default",
"controller": "RunnerController",
"html": "<h3>My Runner [[ config | json ]]</h3>",
"icon": "icon.png"
},
"docker": {
"title": "Docker",
"controller": "RunnerController",
"html": "<h3>Docker Runner</h3> [[ config | json ]]</h3>Container <input ng-model='config.container'>",
"icon": "icon.png"
}
},
"plugins": {
"webhooks": {
"title": "WebHooks",
"controller": "PluginController",
"html": "<h3>Hello webhooks! [[ config | json ]]</h3>",
"icon": "icon.png"
},
"node": {
"title": "Node",
"controller": "PluginController",
"html": "<h3>Node config [[config|json]]</h3>",
"icon": "icon.png"
},
"python": {
"title": "Python",
"controller": "PluginController",
"html": "<h3>Python config [[config|json]]</h3>",
"icon": "icon.png"
},
"go": {
"title": "Go",
"controller": "PluginController",
"html": "<h3>Go config [[config|json]]</h3>",
"icon": "icon.png"
},
"sauce": {
"title": "Sauce Labs",
"controller": "PluginController",
"html": "<h3>Sauce Labs config [[config|json]]</h3>",
"icon": "icon.png"
}
}
}