Skip to content
Snippets Groups Projects
Commit 6b3b5e70 authored by Matthias Schiffer's avatar Matthias Schiffer Committed by Martin Weinelt
Browse files

jenkins-community-slave: use requests library to download slave.jar

Do not mix two different HTTP libraries in one script. This fixes a
warning:

/var/lib/jenkins/slave.py:82: DeprecationWarning: URLopener style of invoking requests is deprecated. Use newer urlopen functions/methods

This simple implementation has the disadvantage that it stores the whole
file in RAM, but this isn't an issue for the 1.5MB slave.jar.
parent 5232428b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment