Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Microsoft Teams Bamboo Connector supports Bamboo Specs

If you use infrastructure as a code with Bamboo and using Java or YAML Bamboo specs, you can configure Microsoft Teams build tasks and notifiers directly in the code. For this you need to use Microsoft Teams Bamboo Connector.

You can see a short video demo here.

With Microsoft Teams Build Task definition use can use Bamboo variable and here is the guide and below is an example of usage of it in the Java and YAML specs.

.stages(new Stage("Default Stage")
                    .jobs(new Job("Default Job",
                            new BambooKey("JOB1"))
                            .tasks(new VcsCheckoutTask()
                                    .description("Checkout Default Repository")
                                    .checkoutItems(new CheckoutItem().defaultRepository()),
                                new ScriptTask()
                                    .inlineBody("exit 0"),
                                new AnyTask(new AtlassianModule(""))
                                    .description("MST Build Task")
                                    .configuration(new MapBuilder()
                                            .put("mswebhookUrl", "")
                                            .put("msMessage", "The build of Move Work Forward project was successful.")

YAML Bamboo Specs

Default Job:
  key: JOB1
  - checkout:
      force-clean-build: 'false'
      description: Checkout Default Repository
  - script:
      interpreter: SHELL
      - exit 0
      description: Build
  - any-task:
        msMessage: The build of Move Work Forward project was successful.
      description: MST Build Task
  artifact-subscriptions: []

Just with a few lines of code you can increase team visibility with Microsoft Teams Bamboo Connector.

If you have any questions - please reach out.



Log in or Sign up to comment

Atlassian Community Events