Can I set up a Bamboo project to use the Maven developers section to send creation notifications?

I have a Maven project configured in Bamboo (version 5.3). I would like to be able to use the section in my pom.xml to send build notifications to the developers defined in this section. This was possible in other continuous integration tools that I used before. Is there a hook that can be used in Bamboo to make it work?

+4
source share
1 answer

If you want to use the maven project configuration to send email, use maven for this task. It will work for any environment and CI tool you choose.

  • Provide the profiles 'build-success' + 'build-failed' with the maven-changes-plugin configured in your pom.xml.

  • Add the appropriate calls to the post-build processing:

    mvn changes:announcement-mail -P build-success # for successful build
    mvn changes:announcement-mail -P build-failure`# for failed build
    
+1
source

Source: https://habr.com/ru/post/1538790/


All Articles