Commit Graph

34 Commits

Author SHA1 Message Date
Christopher Orr 8f6df782db Add release instructions to the README. 2015-04-02 17:00:37 -07:00
Christopher Orr 6f0029cd33 Add note about having to configure the DeployDB base URL. 2015-04-02 17:00:29 -07:00
Christopher Orr 0259ceb23c Prepare for 0.1 release. 2015-04-02 15:52:24 -07:00
Christopher Orr 87aca10ae0 Merge branch 'test_logging' 2015-04-02 15:40:57 -07:00
Christopher Orr e82f4fddea Add --stacktrace to Travis CI Gradle test command. 2015-04-02 15:13:12 -07:00
R. Tyler Croy 76e9ecbd54 Merge pull request #19 from lookout/issue/18
Add test to ensure that a newly-created job can be configured via the web UI
2015-04-02 15:04:41 -07:00
R. Tyler Croy 075f047086 Merge pull request #20 from lookout/issue/2
Add "silent mode" which prevents reporting build results back to DeployDB
2015-04-02 15:04:34 -07:00
Christopher Orr fa5e01b906 Log test case execution to the console for the benefit of Travis CI.
Do not log standard output, as that prints far too much information during test
execution, and this also exceeds the 4MB limit imposed by Travis CI which will
cause a build to be terminated.
2015-04-02 14:57:06 -07:00
Christopher Orr 52f74cf665 Add "silent mode" which prevents reporting build results back to DeployDB.
Closes #2.
2015-04-02 12:21:30 -07:00
Christopher Orr e43446a980 Add test to ensure that a newly-created job can be configured via the web UI.
Re: #18.
2015-04-02 11:42:00 -07:00
Christopher Orr 0791f823ad Fix NPE upon loading config page that doesn't yet have a DeployDB trigger.
Fixes #18.
2015-04-02 11:21:28 -07:00
R. Tyler Croy 7d7b405cfc Merge pull request #17 from lookout/issue/3
Once any DeployDB-triggered build has completed, send a webhook with the result
2015-04-02 07:39:32 -07:00
Christopher Orr 3604bd29fe Once any DeployDB-triggered build has completed, send a webhook with the result.
A webhook will be POSTed to /api/deployments/:id/promotions on DeployDB, which
includes the Jenkins job named which was built, the success/failure, and a URL
to the Jenkins build in question.

Outbound webhooks are queued for delivery using WHoAS, and its built-in retry
mechanism will be used.

Closes #3.
2015-04-02 00:51:16 -07:00
Christopher Orr aa5084f8d2 Merge branch 'issue/1' 2015-04-01 17:16:46 -07:00
R. Tyler Croy 93ad786c9b Merge pull request #14 from lookout/event_type_detection
Determine incoming webhook event type from the Content-Type header.
2015-03-30 07:52:53 -07:00
Christopher Orr 83b2051821 Jobs can now be triggered by one or more specific DeployDB event types.
Closes #1.
2015-03-29 14:54:24 -07:00
Christopher Orr 6139a72c86 Determine incoming webhook event type from the Content-Type header. 2015-03-29 14:50:07 -07:00
R. Tyler Croy 5cc46bb678 Add travis badge to the README 2015-03-29 13:49:09 -07:00
R. Tyler Croy 60d1862217 Test JDK7 and 9 2015-03-29 13:48:01 -07:00
R. Tyler Croy 704404e22b Merge pull request #15 from lookout/travis_config
Add Travis CI config.
2015-03-29 13:47:12 -07:00
Christopher Orr e330e790a2 Add Travis CI config. 2015-03-27 15:40:31 -07:00
R. Tyler Croy 765b9df101 Merge pull request #12 from lookout/issue/4
Export all webhook information as environment variables during a build.
2015-03-22 12:28:08 -07:00
R. Tyler Croy 4d94e302c8 Merge pull request #13 from lookout/issue/5
Add ability to configure DeployDB base URL in the Jenkins system config.
2015-03-22 12:26:28 -07:00
Christopher Orr b111b775c3 Export all webhook information as environment variables during a build.
This includes support for arbitrarily-named key/value pairs, and multiple levels
of nesting within the JSON webhook payload.

e.g. A key `json['artifact']['createdAt']` would be exported to the environment
with the name `DDB_ARTIFACT_CREATED_AT`.

Closes #4.
2015-03-20 11:48:43 -07:00
R. Tyler Croy e9e607ea2a Merge pull request #11 from lookout/issue/8
Label DeployDB-triggered builds as such by showing a badge in the UI.
2015-03-19 17:39:15 -07:00
R. Tyler Croy af98db3451 Merge pull request #10 from lookout/feature/basic_readme
Add basic README.
2015-03-19 17:38:49 -07:00
Christopher Orr 589cb5cf7f Add ability to configure DeployDB base URL in the Jenkins system config.
Closes #5.
2015-03-19 17:00:53 -07:00
Christopher Orr 4ef8084a62 Label DeployDB-triggered builds as such by showing a badge in the UI.
Closes #8.
2015-03-19 14:19:11 -07:00
Christopher Orr 051347ffa4 Add basic README. 2015-03-19 13:53:23 -07:00
R. Tyler Croy 4713d818ac Merge pull request #7 from lookout/issue/6
Implement endpoint allowing webhooks to trigger matching DeployDB jobs.
2015-03-19 13:34:58 -07:00
Christopher Orr 41f55daa05 Implement endpoint allowing webhooks to trigger matching DeployDB jobs.
Currently we just take the `service` field from incoming webhooks and match that
against the regular expression in any jobs configured with the DeployDB trigger.
2015-03-19 12:15:48 -07:00
Christopher Orr 4313553249 Add Gradle build setup. 2015-03-19 11:20:52 -07:00
Christopher Orr 9e959c03fe Update .gitignore. 2015-03-19 11:19:01 -07:00
R. Tyler Croy 2a5fef588a Initial commit 2015-03-16 09:43:20 -07:00