-
Suggestion
-
Resolution: Duplicate
-
None
-
None
Don't take me wrong, Bamboo 3.0 is the closest to Hudson we've had so far (in terms of flexibility). I was almost able to duplicate a multi stage work from Hudson.
My issue is the way things are "shared". First each job has a copy of the repository, there's no way to disabling checking out from the repository. In my case I have 5 jobs in my plan meaning I have 5 copies of the repository that needs to be updated. Meaning 5 times adding the time of updating the repository and 5 times the disk space consumption on disk.
The second issue id that "shared" artifacts are not shared, just copied and pasted. I expected sharing to be exactly that, reuse the artifact. I think that all jobs within the same plan should be ran on the same place, using one repository copy instead of one per job, is not efficient in my opinion.
The stage concept is great but the way it is implemented might not be the best. Stages/Jobs should be working on the same working directory not copies of them. Probably adding an option in the job to revert the repository would be equivalent to the clean repository copy each job uses now with the same resuts and less overhead.
Thanks for the feedback!
What you are looking for will be possible once support for multiple builders will be implemented in Bamboo (
BAM-1854). This way a single Bamboo job will checkout the source once and then be able to execute build actions on it, one at a time. This way if one action creates an artifact, that same artifact can definitely be used by other builders.This will be available in Bamboo 3.1.
Just FYI, multiple stages and jobs are super useful for parallelising work and spreading it across multiple servers, which goes a massive way towards decreasing build time, especially for builds that need to do a lot of testing. Especially if that testing needs to happen in different environments. For example, testing how something works on Windows as well as Linux. Using jobs and multiple agents this can be done in parallel.
Sometimes checking out sources for each job is also unnecessary in the case. This is what
BAM-5925is tracking.Having jobs with no source repositories will also be possible in Bamboo 3.1.
Due to this I will resolve this issue as a Duplicate.
Cheers,
Anton