I'm trying to define field values for a custom Bamboo plugin that I've written and I can't seem to find any information on the structure of the YAML to do so. It seems like I'll have to use the "AllOtherPluginsConfiguration", based on looking at the Java spec examples. I'm basically looking to do this, but in YAML (with my own plugin, not clover):
AllOtherPluginsConfiguration configurationForJob = new AllOtherPluginsConfiguration() .configuration(new MapBuilder() .put("custom", new MapBuilder() .put("clover", new MapBuilder() .put("path", "results") .put("license", "") .put("integration", "custom") .put("exists", "true") .put("useLocalLicenseKey", "true") .build()) .build()) .build());
Plan plan = new Plan(project, "My Plan Two", "PLAN2") .description("This is an example of a plan") .enabled(true) .stages(new Stage("Stage 1") .jobs(new Job("Job 1", "JOB") .pluginConfigurations(configurationForJob)));
So far I have something that looks like:
- echo 'Hello from YAML Specs'
I've tried a variety of combinations similar to that but can't seem to stumble upon the correct one. So I guess my question is: is this possible to do in YAML spec like it seems to be in Java spec? And if so, is there documentation anywhere as to how it should be formatted?
There's no automatic support of such functionality for YAML specs.
But since Bamboo 7.0 it's possible to have this functionality if plugin vendor adds it to app.
There's no official documentation but you can see implementation details at open source plugins:
Bamboo 7.0.0-rc1 is available for download already
On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events