Skip to content

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

Merged
klesh merged 2 commits into
apache:mainfrom
gustavobini:fix/jenkins-multibranch
May 16, 2024
Merged

fix(jenkins): incorrect class type on multibranch jobs#7464
klesh merged 2 commits into
apache:mainfrom
gustavobini:fix/jenkins-multibranch

Conversation

@gustavobini
Copy link
Copy Markdown
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 force-pushed the fix/jenkins-multibranch branch from 86ff80e to 3ccb744 Compare May 14, 2024 10:19
@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 gustavobini force-pushed the fix/jenkins-multibranch branch from 3ccb744 to 5bb9c37 Compare May 15, 2024 06:16
@gustavobini
Copy link
Copy Markdown
Contributor Author

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

@klesh klesh merged commit 3ae23bf into apache:main May 16, 2024
@klesh
Copy link
Copy Markdown
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.

2 participants