Open piyush94 opened 3 weeks ago
jenkins-backend
If the job is under more than one folder the Get builds errors out. e.g my_jobs/test_jobs/job1 doesn't works. but my_jobs/job2 works
It should return the the builds irrespective of the depth of the job folder.
jenkins.io/job-full-name: my_jobs/test_jobs/job1 fails with error: invalid json response body at https://my-jenkins.com/my_jobs/test_jobs%2Fjob1/api/json?tree=name,description,url,fullName,displayName,fullDisplayName,inQueue,builds[*]
Set jenkins plugin annotation to a job location under more than one folder.
Instead of %2F it should join the job URL with /job/ between folders.
%2F
/job/
No, but I'm happy to collaborate on a PR with someone else
Looking for contributions 👀
Plugin Name
jenkins-backend
📜 Description
If the job is under more than one folder the Get builds errors out. e.g my_jobs/test_jobs/job1 doesn't works. but my_jobs/job2 works
👍 Expected behavior
It should return the the builds irrespective of the depth of the job folder.
👎 Actual Behavior with Screenshots
jenkins.io/job-full-name: my_jobs/test_jobs/job1 fails with error: invalid json response body at https://my-jenkins.com/my_jobs/test_jobs%2Fjob1/api/json?tree=name,description,url,fullName,displayName,fullDisplayName,inQueue,builds[*]
👟 Reproduction steps
Set jenkins plugin annotation to a job location under more than one folder.
📃 Provide the context for the Bug.
Instead of
%2F
it should join the job URL with/job/
between folders.👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
No, but I'm happy to collaborate on a PR with someone else