Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-4887

Build failure detection for Maven 3 - BUILD SUCCESS

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 2.6 M5, 2.6
    • None
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      How does Bamboo detect a build failure when using Maven? We are using Maven 2.x for most of our builds and everything works fine. In Maven 2.x builds:
      1. The process returns with a 0
      2. The text "BUILD SUCCESSFULL" appears at the last few hundred lines of the logs

      However, we need to to use an alpha version of Maven 3 for some code metric generation. In Maven 3.x builds:
      1. The process returns with a 0
      2. The text "BUILD SUCCESS" appears at the last few hundred lines of the logs

      Bamboo looks for a very specific string in the logs and it ends up categorizing all Maven 3 builds as failures.

      Is there a way to configure that or disable the 2nd success detection rule?

      Attachments

        Activity

          People

            pbruski Przemek Bruski
            ukuhnhardt Ulrich Kuhnhardt [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h