Versions Compared

キー

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

These widgets retrieve a summary of plans for a particular Bamboo instance. The summary is shown as a list and depicts the current status, the last completed builds and the reason for the last build. You can either show all the plans or just those that are in your favourites list (username and password required).

To use this widget

    1.   Include the style sheet in your html document

コー​​ドブロック
<link rel="stylesheet" type="text/css" href="<bamboo-base-url>/styles/bamboo-widget.css" >

    2.    Place the following script tag in your html

  • For all plans
    コー​​ドブロック
    <script type="text/javascript"
    src="<bamboo-base-url>/js/jsBuildSummaryAll.action" >
    </script>
    
  • For your favourite plans
    コー​​ドブロック
    <script type="text/javascript"
    src="<bamboo_base_url>/js/jsBuildSummaryFavourites.action?os_username=<your-user-name>&os_password=<your_password>">
    </script>
    

    3.    Replace <bamboo-base-url> with the base url for your bamboo instance.

    4.    Replace <your-user-name> and <your-password> with the appropriate values.

    5.    Style! - The style sheet provided just gives some basic style definitions. You can override these definitions to customise the widgets to suit your needs.

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

コー​​ドブロック
<link rel="stylesheet" type="text/css" href="http://opensource.bamboo.atlassian.com/styles/bamboo-widget.css">

<script type="text/javascript" src="http://opensource.bamboo.atlassian.com/js/jsBuildSummaryAll.action" ></script>

bambooallplans


関連トピック

子ページ表示
すべてtrue
ページAppendix A. Embedding Bamboo into Other Applications

Bamboo Documentation