Add last successful build number as jenkins badge
- Dominant language
- JavaScript
- Stars
- 27.2k
- Forks
- 5.6k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 46
Description
:clipboard: **Description**
Please add a badge to display Jenkins last successful build number.
:link: **Data**
The data can be obtained by using the Jenkins API.
https://jenkinspath/job/jobname/api/json -> "lastSuccessfulBuild" -> "number"
:microphone: **Motivation**
This is a feature suggestion I previously asked for here: https://github.com/badges/shields/discussions/7039#discussioncomment-1384091
Contributor guide
Research direction
Start with the Jenkins API endpoint in the issue and inspect how existing Shields badges obtain and render external build data. The work is done when a Jenkins badge displays the value from lastSuccessfulBuild.number and the relevant badge behavior is covered by the project's tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100