Skip to content
Snippets Groups Projects
Select Git revision
  • experimental default protected
  • nrb/airmax-test
  • v2023.2.4-ffs
  • nrb/ar9344-reset-sequence
  • autinerd/experimental-openwrt-24.10
  • v2023.2.3-ffs
  • v2023.2.2-ffs
  • v2023.2-ffs
  • v2023.1-ffs
  • v2022.1.4-ffs
  • feature/addMikrotikwAP
  • v2022.1.3-ffs
  • v2021.1.2-ffs
  • v2022.1.1-ffs
  • master protected
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • v2020.2.3-ffs
  • nrbffs/fastd-remove-delay
  • experimental-2025-06-08
  • experimental-2025-06-08-base
  • experimental-2025-06-06
  • experimental-2025-06-06-base
  • experimental-2025-05-27
  • experimental-2025-05-27-base
  • experimental-2025-05-18
  • experimental-2025-05-18-base
  • experimental-2025-05-15
  • experimental-2025-05-15-base
  • experimental-2025-05-13
  • experimental-2025-05-13-base
  • experimental-2025-05-08
  • experimental-2025-05-08-base
  • experimental-2025-05-05
  • experimental-2025-05-05-base
  • experimental-2025-05-02
  • experimental-2025-05-02-base
  • experimental-2025-05-01
  • experimental-2025-05-01-base
40 results

slave.py

  • Matthias Schiffer's avatar
    6b3b5e70
    jenkins-community-slave: use requests library to download slave.jar · 6b3b5e70
    Matthias Schiffer authored
    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.
    6b3b5e70
    History
    jenkins-community-slave: use requests library to download slave.jar
    Matthias Schiffer authored
    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.