This documentation relates to an earlier version of Bamboo.
View

Unknown macro: {spacejump}

or visit the current documentation home.

These widgets allows you to view either of the two summary graphs displayed on the plan summary page. The two graphs are:

  • Build Duration & Number of Failures per Build
  • Successful Builds & Average Duration Per Time Period

To use this widget

    1.    Place the following script tag in your html

  • For Build Duration & Number of Failures per Build
    <script type="text/javascript"
    src="<bamboo-base-url>/js/viewCombinedByBuildNumberChart.action?buildKey=<Plan-Key>&filterController.selectedFilterKey=<filter-key>">
    </script>
    
  • For Successful Builds & Average Duration Per Time Period
    <script type="text/javascript"
    src="<bamboo_base_url>/js/jsViewCombinedByTimePeriodChart.action?buildKey=<Plan-Key>&filterController.selectedFilterKey=<filter-key>">
    </script>
    

    2.    Replace <plan-key> with the key of the plan you want to summarise.
                eg. TEST-DEF

    3.    Replace <filter-key> with one of the following options:
               * LAST_25_BUILDS
               * LAST_7_DAYS
               * LAST_30_DAYS
               * LAST_90_DAYS
               * ALL_BUILDS

Live example from http://opensource.bamboo.atlassian.com/

<script type="text/javascript"
src="http://opensource.bamboo.atlassian.com/js/viewCombinedByBuildNumberChart.action?buildKey=STRUTS-MAIN&filterController.selectedFilterKey=LAST_25_BUILDS" >
</script>

<script type="text/javascript"
src="http://opensource.bamboo.atlassian.com/js/jsViewCombinedByTimePeriodChart.action?buildKey=STRUTS-MAIN&filterController.selectedFilterKey=LAST_25_BUILDS>
</script>


  • ラベルなし