diff options
author | Teddy Wing | 2017-11-08 23:05:34 +0100 |
---|---|---|
committer | Teddy Wing | 2017-11-08 23:07:31 +0100 |
commit | 0f1f1b2f2991e30672706b58ca4af5b2cc1c92cf (patch) | |
tree | 525255a099206bd05bda84fd2452c178bb45cbbb /src/main.rs | |
parent | 32ad1916123325a8cc80fb76e0cbd5a2bb0b6841 (diff) | |
download | kipper-0f1f1b2f2991e30672706b58ca4af5b2cc1c92cf.tar.bz2 |
jenkins.rs: Allow `request_job` to work with the test mock
Use the 'url' crate to split the passed in URL string and get its path
part so we can use the mock HTTP server for testing. Otherwise, this
requested the real Jenkins API URL and we couldn't test it.
Diffstat (limited to 'src/main.rs')
0 files changed, 0 insertions, 0 deletions