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 plugin install logic matching #514

Merged
merged 1 commit into from
Mar 3, 2016

Conversation

jhoblitt
Copy link
Member

@jhoblitt jhoblitt commented Mar 2, 2016

It was possible for a plugin to fail to be installed if it's name and
version matched as a substring of an already installed plugin. Which
means that a test for credentials 1.12 could potentially match on an
incorrect plugin name such as ssh-credentials 1.12.

resolves #513

@jhoblitt jhoblitt added the bug Something isn't working label Mar 2, 2016
@jhoblitt jhoblitt force-pushed the bug/plugin-name-version-matching branch from ea78e96 to 0ddaaf5 Compare March 2, 2016 23:00
@jenkinsadmin
Copy link

Thank you for this pull request! Please check this document for how the Jenkins project handles pull requests.

It was possible for a plugin to fail to be installed if it's name and
version matched as a substring of an already installed plugin. Which
means that a test for `credentials 1.12` could potentially match on an
incorrect plugin name such as `ssh-credentials 1.12`.

resolves voxpupuli#513
@jhoblitt jhoblitt force-pushed the bug/plugin-name-version-matching branch from 0ddaaf5 to 89ce1a8 Compare March 3, 2016 16:36
@rtyler rtyler added this to the 1.7.0 - Oddjob milestone Mar 3, 2016
rtyler pushed a commit that referenced this pull request Mar 3, 2016
@rtyler rtyler merged commit 40bfda2 into voxpupuli:master Mar 3, 2016
@jhoblitt jhoblitt deleted the bug/plugin-name-version-matching branch April 15, 2016 20:34
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

Successfully merging this pull request may close these issues.

jenkins:plugin can incorrectly believe a plugin is installed (when it isn't)
3 participants