I am very new to Bamboo and I am researching how I can use something like a custom command executable to build an ISO.
From my understanding, I would create a new task within a job, and I could pass some command line arguments to it to achieve this thorugh a python script on our linux system. How do I tell this script to build the ISO based off of the build artifacts from the build task?
Do these custom scripts automatically get put into the same folder with the artifacts?
Looking for some guidance!
If you are doing all this all in one job, there's nothing special you have to do. Just add a script task that will create the ISO out of the artifacts you have in your build directory. It's easiest to experiment with this - run the build from Bamboo and after it's finished, log in to your server via SSH, go to the build directory on the hard drive and figure out the correct call to your ISO build script. After you deal with that, just paste the script as a body of script task.
If you are doing this in a different Job, you have to define your artifacts as Bamboo artifacts. During the definition, you will be able to specify the destination directory for the artifacts. The part where you figure out the correct ISO build script call stays the same.
Would I do something like pass in a command line argument that specified the directory on the build server and an output directory for the ISO?
The exact call depends on the tool you use to create the ISO. Using relative directories should be your best bet (but if you can't, you can use Bamboo's variables to get the absolute paths). So the question is: how do you call it from the command line?
Does the ISO now become an artifact?
If you need it to be an artifact, you can define it as an artifact via the artifact tab in Job configuration.
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot