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)
committerPetr Kocandrle <pkocandr@redhat.com>
Fri, 26 Jul 2013 13:14:30 +0000 (15:14 +0200)
commite1afbab57e57cfa962a2fac5fbfbc10d68a42039
treed3e6bf35ba6700bfec6eb1a8838c6e18cd093b38
parent9d37824d583d72d4a022ae3c4b4f7d11a5bf6f29
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