backstage / community-plugins

Community plugins for Backstage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ› jenkins-backend: job details under more than one folder

piyush94 opened this issue Β· comments

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?

  • I checked and didn't find similar issue

🏒 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

Looking for contributions πŸ‘€