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

fix(jenkins): incorrect class type on multibranch jobs #7464

Merged
merged 2 commits into from
May 16, 2024

Conversation

gustavobini
Copy link
Contributor

@gustavobini gustavobini commented May 13, 2024

The input for builds is a workflow job and not a workflow multibranch project.

Summary

What does this PR do?

This fixes extraction of multibranch builds as it was incorrectly checking for the class type to be of the multibranch project, instead of a workflow job. Only jobs created from multibranch projects have Input defined.

I also noted I had only added tests covering the "jobs" aspect of the multibranch flow. This covers the rest.

@gustavobini gustavobini changed the title fix(jenkins): check for correct class type fix(jenkins): incorrect class type on multibranch jobs May 14, 2024
The input for builds is a workflow job and not a workflow multibranch project.
@gustavobini
Copy link
Contributor Author

@klesh can you check this please? related to #7213

@klesh klesh merged commit 3ae23bf into apache:main May 16, 2024
10 checks passed
@klesh
Copy link
Contributor

klesh commented May 16, 2024

LGTM, @gustavobini Thanks for your contribution.

@gustavobini gustavobini deleted the fix/jenkins-multibranch branch May 16, 2024 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants