Hello
i'm using a build plan to create more build plans using bamboo's configuration as code. so far so good.
what we're doing can be seen here
https://github.com/gfa/bamboo-plans
I want to improve this
99% of our plans do the same steps to test and build the code, but since is java code and we don't have any expertise on java we have one directory for each plan, duplicating the same code over and over.
I took a look at jython, or simply trying to make a general class using java and taking parameters but TBH i don't even know where to start.
Does anybody has anything better they can share?
thanks!
Hi Gustavo,
I am starting to use Bamboo as code. We are currently looking at jython. We are keeping as simple as a Main program that takes as argument a input file. The file describes the plan in english and the script parses the information and calls the Spec api to do the heavy lifting. Because we only have a handful of plans; the need for making the jython script modular is not need it.
Best of luck
Enrique
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.