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

Failed to package application revision when S3 object key contains a folder prefix #12

Open
tlanghals opened this issue Nov 2, 2017 · 2 comments

Comments

@tlanghals
Copy link

When configuring the S3 object key parameter to contain a folder prefix the build fails with a message similar to this "Failed to package application revision D:\TeamCity\BuildAgent\temp\buildTmp\CodeDeploy\Deployment_Package.zip"

In the this test case the parameter was set to; CodeDeploy\Deployment_Package.zip

@nwesoccer
Copy link

Same here. Were you able to find a work-around?

@nwesoccer
Copy link

nwesoccer commented May 25, 2018

Actually, after looking into the plugin code a little, it is erroring because the folder, in your case, "DodeDeploy" doesn't exists. I've been able to work around this by running a powershell build step with the following code right before the CodeDeploy step

New-Item -Path "%system.teamcity.build.tempDir%" -Name "CodeDeploy" -ItemType Directory

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

2 participants