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 windows path issue while wildcarding #55

Merged
merged 5 commits into from
Oct 7, 2015
Merged

Fix windows path issue while wildcarding #55

merged 5 commits into from
Oct 7, 2015

Conversation

bartvangeneugden
Copy link

We had the S3 plugin configured with the source parameter as trunk/build/resources/**/* on Windows builders.

As windows uses a backslash (\) instead of normal slashes (/) S3 appended this to the filename. Meaning in the target folder, a file was created with a name my-really\cool-file.yml instead of converting my-really to a folder.

This pull request fixes that bug by converting backslashes to slashes before defining the Destination in S3

@bartvangeneugden
Copy link
Author

We deployed a local build of this on our Jenkins instance and confirmed the changes

@richard-bt
Copy link

Is there anything preventing this from being merged? For what it's worth, looks good to me.

Whenever this pull request is merged, https://issues.jenkins-ci.org/browse/JENKINS-16025 should be updated. There're more than a few people running in to this bug.

@VictorPascualV
Copy link

Exact same issue here. Any plans on merging that pull request and releasing a new version?

Thanks in advance,

@ndeloof
Copy link

ndeloof commented Jun 30, 2015

LGTM 👍

@bartvangeneugden
Copy link
Author

Thanks for checking @ndeloof
Could you merge it? Build seems to pass fine

ndeloof added a commit that referenced this pull request Oct 7, 2015
Fix windows path issue while wildcarding
@ndeloof ndeloof merged commit b24de8c into jenkinsci:master Oct 7, 2015
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.

4 participants