0
0
Jenkinsdevops~20 mins

Build status badges in Jenkins - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Build Badge Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate
1:30remaining
Jenkins badge URL output
What is the correct URL to get a Jenkins build status badge for a job named MyProject on a Jenkins server at http://jenkins.example.com?
Ahttp://jenkins.example.com/status/MyProject/badge.svg
Bhttp://jenkins.example.com/job/MyProject/badge/icon.svg
Chttp://jenkins.example.com/job/MyProject/status/icon
Dhttp://jenkins.example.com/build/MyProject/status.svg
Attempts:
2 left
💡 Hint
Jenkins uses the /job/ path and /badge/icon.svg suffix for badges.
🧠 Conceptual
intermediate
1:00remaining
Purpose of Jenkins build status badges
What is the main purpose of using build status badges in Jenkins?
ATo configure Jenkins job parameters remotely
BTo trigger Jenkins builds automatically when clicked
CTo store build logs securely on the Jenkins server
DTo visually show the current build status of a project in places like README files or dashboards
Attempts:
2 left
💡 Hint
Think about what a badge image is used for in documentation or project pages.
Configuration
advanced
2:00remaining
Configuring Jenkins to allow badge access without login
Which Jenkins configuration change allows anonymous users to access build status badges without logging in?
AEnable 'Overall Read' permission for 'Anonymous' users in Jenkins security settings
BAdd a custom header to Jenkins HTTP responses
CDisable Jenkins security completely
DConfigure Jenkins to use OAuth authentication only
Attempts:
2 left
💡 Hint
Badges are images served by Jenkins and need read access for anonymous users.
Troubleshoot
advanced
1:30remaining
Troubleshooting broken Jenkins build status badges
If a Jenkins build status badge URL returns a 403 Forbidden error, what is the most likely cause?
AAnonymous users do not have permission to read the job status
BThe Jenkins job has never been built
CThe badge URL is misspelled with wrong job name
DThe Jenkins server is down
Attempts:
2 left
💡 Hint
403 means permission denied, not server down or URL error.
🔀 Workflow
expert
3:00remaining
Steps to add a Jenkins build status badge to a GitHub README
What is the correct sequence of steps to add a Jenkins build status badge to a GitHub README file?
A2,3,1,4
B1,2,3,4
C2,1,3,4
D3,2,1,4
Attempts:
2 left
💡 Hint
Think about permissions first, then get URL, then edit README.