My tests generated some screenshots which are located in the target folder. I want to create a ZIP file containing these images and make an artifact out of if.
I have included a script task which creates the zip in the target folder:
zip -r project-web/target/screenshots.zip project-web/target/screenshots-folder
When I run it from the build root folder the zip file is created as expected. However when I run my build in Bamboo I get an error:
Unable to publish artifact:
I was able to achieve what I needed by creating the ZIP file as part of the maven build. I've used maven ant plugin.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.