aboutsummaryrefslogtreecommitdiffstats
path: root/src/jenkins.rs
diff options
context:
space:
mode:
authorTeddy Wing2017-11-09 00:50:59 +0100
committerTeddy Wing2017-11-09 00:55:52 +0100
commit26b74edece4546378c8a853cc70f7388f20ff0c6 (patch)
tree6faa7819a7a680ff62e9fb3432211170a488cdaf /src/jenkins.rs
parent2d3b362513d7e256f6a1ed3bdeed2eb785302ff3 (diff)
downloadkipper-26b74edece4546378c8a853cc70f7388f20ff0c6.tar.bz2
github.rs: `update_commit_status` should take a repo name
Pass a repo name explicitly in an argument to the function. We now have the values we need to be able to properly construct a URL to POST to. Update our HTTP request to send the params as JSON and include the "Accept" header that GitHub recommends adding (https://developer.github.com/v3/#current-version) based on the code examples in https://docs.rs/reqwest/0.8.1/reqwest/header/struct.Accept.html#examples.
Diffstat (limited to 'src/jenkins.rs')
0 files changed, 0 insertions, 0 deletions