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

Ignore Plugin Version when calculating diff #182

Open
samgurtman opened this issue Dec 1, 2023 · 0 comments
Open

Ignore Plugin Version when calculating diff #182

samgurtman opened this issue Dec 1, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@samgurtman
Copy link

samgurtman commented Dec 1, 2023

Hey there, love the plugin. It's super useful for us.

I have an issue where I need to put ignore_changes on all our templates, because the plugin thinks there's an update required even if the template has not changed.

This appears to be because the XML it receives from Jenkins has plugin version automatically added whereas the XML template we submit does not. Theoretically we could hardcode the plugin versions in our template but that will cause issues when we update the plugins on the server.

Ideally, we could have an option to ignore the plugin versions when calculating the diff.

Is this possible?

Example of diff found:

<?xml version='1.1' encoding='UTF-8'?>
          - <org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject plugin="[email protected]">
          + <org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject plugin="workflow-multibranch">
              <actions/>
              <description>Jenkinsfile builder for Gitlab Project olympus/test-terraform-project</description>
@taiidani taiidani self-assigned this Feb 25, 2024
@taiidani taiidani added the enhancement New feature or request label Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants