From the course: Bamboo Essential Training (2018)

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Compress and download the artifacts

Compress and download the artifacts - Bamboo Tutorial

From the course: Bamboo Essential Training (2018)

Compress and download the artifacts

- [Instructor] So as you see, when we create an artifact in Bamboo, just like the one we created for the output of our website, it gives us a bunch of files. And sometimes we need to have these files packaged in a ZIP file or in a TAR file, it depends on your operating system. Unfortunately, Bamboo doesn't come with a kind of out-of-the-box feature to package all the files into one single compressed file but we can easily do this using any zip utility that we want to. In order to do this, we need to have a zip utility on the build agent. For example, if we go back to our build agent, we can download a free zip utility, for example, 7-Zip is a good one. We can go to 7-Zip.org and then we can download this into our machine. And then we just run the setup. And we give it a path. I will put it in the script folder that we have, Scripts. So if I go to the Script folders, you will see that we have a bunch of files here. The command line file is the 7z.exe file. So if I just go to command…

Contents