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

Exception with UTF-8 characters in filenames (Windows) #43

Open
joshmahar-ts opened this issue Jul 8, 2020 · 0 comments
Open

Exception with UTF-8 characters in filenames (Windows) #43

joshmahar-ts opened this issue Jul 8, 2020 · 0 comments

Comments

@joshmahar-ts
Copy link

joshmahar-ts commented Jul 8, 2020

Getting the following exception when unpacking a ZIP file containing UTF-8 characters in some of the filenames. Removing those files form the ZIP resolves the error but we need to support special characters including æ and ø.

Jenkins 2.235.1/java11 on Windows Server 2019

[AWS CodePipeline Plugin] Detected compression type: Zip
[AWS CodePipeline Plugin] Successfully downloaded artifact from AWS CodePipeline
[AWS CodePipeline Plugin] Extracting 'C:\Program Files (x86)\Jenkins\workspace\windows-docker-build\DlwPl3Q.zip' to 'C:\Program Files (x86)\Jenkins\workspace\windows-docker-build'
[AWS CodePipeline Plugin] Failed to acquire artifacts: The system cannot find the file specified
[AWS CodePipeline Plugin] Stacktrace:
[AWS CodePipeline Plugin] java.base/java.io.WinNTFileSystem.canonicalize0(Native Method)
[AWS CodePipeline Plugin] java.base/java.io.WinNTFileSystem.canonicalize(WinNTFileSystem.java:438)
[AWS CodePipeline Plugin] java.base/java.io.File.getCanonicalPath(File.java:620)
[AWS CodePipeline Plugin] com.amazonaws.codepipeline.jenkinsplugin.ExtractionTools.getDestinationFile(ExtractionTools.java:113)
[AWS CodePipeline Plugin] com.amazonaws.codepipeline.jenkinsplugin.ExtractionTools.extractZipFile(ExtractionTools.java:70)
[AWS CodePipeline Plugin] com.amazonaws.codepipeline.jenkinsplugin.ExtractionTools.extractZip(ExtractionTools.java:46)
[AWS CodePipeline Plugin] com.amazonaws.codepipeline.jenkinsplugin.ExtractionTools.decompressFile(ExtractionTools.java:180)
[AWS CodePipeline Plugin] com.amazonaws.codepipeline.jenkinsplugin.DownloadCallable.downloadAndExtract(DownloadCallable.java:127)
[AWS CodePipeline Plugin] com.amazonaws.codepipeline.jenkinsplugin.DownloadCallable.invoke(DownloadCallable.java:87)
[AWS CodePipeline Plugin] com.amazonaws.codepipeline.jenkinsplugin.DownloadCallable.invoke(DownloadCallable.java:36)
[AWS CodePipeline Plugin] hudson.FilePath.act(FilePath.java:1075)
[AWS CodePipeline Plugin] hudson.FilePath.act(FilePath.java:1058)
[AWS CodePipeline Plugin] com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM.checkout(AWSCodePipelineSCM.java:237)
[AWS CodePipeline Plugin] hudson.model.AbstractProject.checkout(AbstractProject.java:1206)
[AWS CodePipeline Plugin] hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
[AWS CodePipeline Plugin] jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
[AWS CodePipeline Plugin] hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
[AWS CodePipeline Plugin] hudson.model.Run.execute(Run.java:1880)
[AWS CodePipeline Plugin] hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
[AWS CodePipeline Plugin] hudson.model.ResourceController.execute(ResourceController.java:97)
[AWS CodePipeline Plugin] hudson.model.Executor.run(Executor.java:428)
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

No branches or pull requests

1 participant