Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,556,422
Community Members
 
Community Events
184
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()
                                    .description("Build")
                                    .inlineBody("exit 0"),
                                new AnyTask(new AtlassianModule("com.moveworkforward.bamboo.microsoft-teams-notifier:microsoftTeamsBuildTask"))
                                    .description("MST Build Task")
                                    .configuration(new MapBuilder()
                                            .put("mswebhookUrl", "https://moveworkforward0.webhook.office.com/webhookb2/afad8b60-4507-4100-bff7-f963ae9543ab@57e6a115-9c9a-4cee-9e52-2cae48e2251a/IncomingWebhook/bcc0f209ba554616909d5ed0365acb48/f889a410-e1df-490e-bfae-412eca9d3f60")
                                            .put("msMessage", "The build of Move Work Forward project was successful.")
                                            .build()))))
...

YAML Bamboo Specs

...
Default Job:
  key: JOB1
  tasks:
  - checkout:
      force-clean-build: 'false'
      description: Checkout Default Repository
  - script:
      interpreter: SHELL
      scripts:
      - exit 0
      description: Build
  - any-task:
      plugin-key: com.moveworkforward.bamboo.microsoft-teams-notifier:microsoftTeamsBuildTask
      configuration:
        mswebhookUrl: https://moveworkforward0.webhook.office.com/webhookb2/afad8b60-4507-41c0-bff7-f963ae9543ab@57e6a115-9c9a-4cee-9e52-2cae48e2251a/IncomingWebhook/bcc0f209ba554616909d5ed0365acb48/f889a410-e1df-490e-bfae-412eca9d3f60
        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.

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events