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

Job import from folders #15

Closed
wants to merge 1 commit into from

Conversation

MirceaAndreiAlbu
Copy link

@MirceaAndreiAlbu MirceaAndreiAlbu commented Sep 23, 2016

This PR is not a more nicer, but a simpler solution to the #12.
If you want to import a job from a plugin, the query url needs to contain the folder(ex: http://jenkins.com/job/Folder1/).

The changes required for this, is to make sure that you remove a slash to the config.xml path, if it is a job from a folder.
ex(how it is now): http://jenkins.com/job/Folder1/job/JobName1//config.xml

At import, when giving a path to a folder in jenkins, the path calculated to the config.xml has 2 "/".
Ex: http://jenkins.com/job/Folder1/job/JobName1//config.xml
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