]> xenbits.xensource.com Git - openstack/ci-loop-config.git/commitdiff
jenkins-jobs: Ignore python insecure platform warning
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 21 Mar 2016 14:50:41 +0000 (14:50 +0000)
committerAnthony PERARD <anthony.perard@citrix.com>
Mon, 21 Mar 2016 14:53:44 +0000 (14:53 +0000)
jenkins/jobs/macros-common.yaml

index f514767b5d237eed2e85ad7fc211de0cedc72869..5f8c247c4f98ed69fef60b190a6a167cdb49d987 100644 (file)
           virtualenv osci-env
           . osci-env/bin/activate
           git clone https://github.com/citrix-openstack/openstack-citrix-ci openstack-citrix-ci
+          # https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning
+          export PYTHONWARNINGS="ignore:A true SSLContext object is not"
+          echo export PYTHONWARNINGS="$PYTHONWARNINGS"
           pip install -r openstack-citrix-ci/requirements.txt
           pip install -e openstack-citrix-ci
           # CA bundle in 2.5.2 is broken