Keep the same scheme (protocol) as was used in Jenkins constructor in all requests
authorPetr Kocandrle <pkocandr@redhat.com>
Wed, 24 Jul 2013 12:14:11 +0000 (14:14 +0200)
committersalimfadhley <sal@stodge.org>
Tue, 1 Oct 2013 22:55:24 +0000 (23:55 +0100)
commit9396dcedc5fce8308c96b600e864e6d11f7312a2
treeb9f0a645c1265d6cd2d9614e1671a61eb0a7f01a
parent0df022e2c80cfa673309d98f2d70702f57dd8202
Keep the same scheme (protocol) as was used in Jenkins constructor in all requests

Some Jenkins instances are configured to allow reading the data over HTTP scheme, while for manipulating with
data (e.g. create or delete job) HTTPS scheme is required. Allow user to specify preferred URL scheme (by
specifying Jenkins URL) and use this scheme also manipulations with jobs.

This was introduced in 4f29f6742410736016b568002d8569f19d786841 (version 0.1.13) but lost again in
79934f0b5ca44a1d4ecbaf534eb1add8e343193f.
jenkinsapi/jenkins.py
jenkinsapi/utils/requester.py