Jenkins version: 2.440.3
Hey team! Thanks for all you do.
I had a developer create a branch with double quotes in it - Jenkins handled that great, but we use a glue script to connect GitHub and Jenkins, and it utilized jq, which isn’t able to handle the double quotes in the json response. We’d like to prune the build from the build history.
I deleted the build from the UI, and confirmed with a groovy script that the build is no longer listed from the job.
However, the build continues to appear in the Jenkins API - our-jenkins.com/job/JobName/api/json.
What will trigger that api response to reflect the real job history? And if it will keep all jobs forever, even deleted ones, how can I prune a job from its history?
Thanks all!