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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.