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

Use an absolute path for Clover history dir for automatic Clover integration

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 5.0
    • 5.0 M5
    • None
    • None

      See problem described here:
      https://confluence.atlassian.com/display/CLOVERKB/Multi-module+Maven+build+on+Bamboo+with+Clover+history+reports

      Bamboo uses default '-Dmaven.clover.historyDir=.cloverhistory' location, which is relative and build fails for sub-modules. Users are not able to override this setting (if they define the property in 'Goals' field in 'Maven Task' configuration, the mvn command is executed with two options - one from user and one from Bamboo).

      Instead of this Bamboo shall explicitly use the absolute path pointing to a workspace root, e.g.:

      -Dmaven.clover.historyDir=${bamboo.build.working.directory}/.cloverhistory
      

      Affects all Bamboo versions.

            [BAM-13222] Use an absolute path for Clover history dir for automatic Clover integration

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1433505 ] New: JAC Bug Workflow v3 [ 3384304 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1406972 ] New: Bamboo Workflow 2016 v1 - Restricted [ 1433505 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 607315 ] New: Bamboo Workflow 2016 v1 [ 1406972 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2014 [ 595226 ] New: Bamboo Workflow 2014 v2 [ 607315 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2010 [ 531031 ] New: Bamboo Workflow 2014 [ 595226 ]
            Jacek Jaroczynski (Inactive) made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: To be reviewed [ 10026 ] New: Resolved [ 5 ]
            Jacek Jaroczynski (Inactive) made changes -
            Fix Version/s New: 5.0 [ 29794 ]
            Marek Parfianowicz made changes -
            Assignee New: Marek Parfianowicz [ mparfianowicz ]
            Jacek Jaroczynski (Inactive) made changes -
            Link New: This issue is related to CLOV-1290 [ CLOV-1290 ]
            Jacek Jaroczynski (Inactive) made changes -
            Status Original: In Progress [ 3 ] New: To be reviewed [ 10026 ]

              mparfianowicz Marek Parfianowicz
              mparfianowicz Marek Parfianowicz
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: