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

Fixes JENKINS-53264 Usage plugin incorrectly reports multi-project #23

Merged
merged 2 commits into from
Oct 13, 2021

Conversation

froque
Copy link
Member

@froque froque commented Oct 13, 2021

This requires a major refactor of analyzer logic, using specific analyzers
for freestyle, matrix, maven and pipeline jobs.

The previous logic was mixing jobs and other itens as buiders or publishers
causing a lot of duplicated logic and code.

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

This requires a major refactor of analyzer logic, using specific analyzers
for freestyle, matrix, maven and pipeline jobs.

The previous logic was mixing jobs and other itens as buiders or publishers
causing a lot of duplicated logic and code.
The number of jobs was refactored and now returns the number of jobs with
plugins detected.

The previous logic was to retrieve all Jenkins jobs but that could return
duplicate entries as in matrix-projects jobs
@froque froque merged commit 0fea753 into master Oct 13, 2021
@froque froque deleted the matrix_project branch October 19, 2021 23:22
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.

1 participant