Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Jenkins Backend Plugin] EntityJobRunsTable not working #1458

Closed
2 tasks done
Skiepp opened this issue Oct 1, 2024 · 1 comment
Closed
2 tasks done

[Jenkins Backend Plugin] EntityJobRunsTable not working #1458

Skiepp opened this issue Oct 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Skiepp
Copy link
Contributor

Skiepp commented Oct 1, 2024

Plugin Name

jenkins-plugin-backend

📜 Description

The EntityJobRunsTable seems to not work anymore, as the this route:
/v1/entity/:namespace/:kind/:name/job/:jobFullName

is receiving "undefined" as jobFullName. The result is that the list of builds is empty.

👍 Expected behavior

List all builds for a project

👎 Actual Behavior with Screenshots

An empty list is shown
image

👟 Reproduction steps

Just use the plugin with the EntityJobRunsTable widget.

📃 Provide the context for the Bug.

This parameter is always passed as undefined
image

A workaround can be achieved by setting the jobFullName from jenkinsInfo, but is indeed a workaround, as the /v1/entity/:namespace/:kind/:name/job/:jobFullName with jobFullName non-properly set is te culprit of this bug.

(Working) Workaround:
image

👀 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

@Skiepp Skiepp added the bug Something isn't working label Oct 1, 2024
@Skiepp
Copy link
Contributor Author

Skiepp commented Oct 1, 2024

Ok i figured out how to use the plugin correctly.... my bad

Anyway it would be nice to use the EntityJobRunsTable as a landing page

@Skiepp Skiepp closed this as completed Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant