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

JENKINS-52341 - added logic to handle project residing under sub-folder #12

Merged
merged 1 commit into from Jul 17, 2018

Conversation

krupaldesai
Copy link

This is a fix for defect: https://issues.jenkins-ci.org/browse/JENKINS-52341

Older logic was assuming that if argument job contains character "/" then it is a matrix project. But this was causing conflict when a normal Jenkins job exists under some sub-folder. This fix will check if the parent item to the job is Matrix project then will be processed accordingly. If it is not Matrix project then it will simply get item by full name (to resolve the full Jenkins job path).

Verified by building the plugin locally and on local Jenkins.

@andreituicu
Copy link
Collaborator

Looks good to me! Thank you for your contribution! :)

@andreituicu andreituicu merged commit cd07442 into jenkinsci:master Jul 17, 2018
@krupaldesai
Copy link
Author

Great, thanks :)

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