Get last successful build (JSON)
documentedRetrieve information about the last successful build in JSON.
GET /job/{job_name}/lastSuccessfulBuild/api/jsonJobsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$jenkins_base_url}}/job/{{$job_name}}/lastSuccessfulBuild/api/json" \
-X GET \
-u "{{$jenkins_user}}:{{JENKINS-CI_API_KEY}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json"