
Security News
libxml2 Maintainer Ends Embargoed Vulnerability Reports, Citing Unsustainable Burden
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
Use the package manager pip and JenkinsPythonSDK | pypi.org to install jenkins-pysdk.
pip install jenkins-pysdk
from jenkins_pysdk.jenkins import Jenkins
jenkins = Jenkins(host="Jenkins.DNS.com", username="<username>", passw="<passw>")
from jenkins_pysdk.jenkins import Jenkins
jenkins = Jenkins(
host="http://localhost",
port=8080,
username="<username>",
token="<token>",
proxies={
"http://": "http://localhost:8080",
"https://": "http://<username>:<password>@localhost:8080"
},
timeout=60,
verify=False
)
For more advanced proxy usage, see HTTPX docs:
https://www.python-httpx.org/advanced/transports/#routing
Using an API token removes the need for csrf crumbs in your requests.
The SDK handles crumbs for you, but using token= will reduce the number of API calls.
Feel free to create pull requests.
For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
[!NOTE] I actively support this SDK, but I don't proactively check Jenkins release notes - if the SDK is missing something after an upgrade, please raise it in the discussions section.
[!IMPORTANT] Code is tested on LTS versions:
- "2.121.3" # (2018)
- "2.138.4" # (2019)
- "2.150.3" # (2019)
- "2.164.3" # (2019)
- "2.176.4" # (2019)
- "2.190.3" # (2020)
- "2.204.6" # (2020)
- "2.222.4" # (2020)
- "2.235.5" # (2021)
- "2.249.3" # (2021)
- "2.263.4" # (2021)
- "2.277.4" # (2021)
- "2.289.3" # (2021)
- "2.303.3" # (2021)
- "2.319.1" # (2022)
- "2.332.3" # (2022)
- "2.346.3" # (2022)
- "2.361.4" # (2023)
- "2.375.3" # (2023)
- "2.387.1" # (2024)
KnownZero
FAQs
2024 Python SDK for Jenkins
We found that jenkins-pysdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.