Dashing widget to display plan build details from your Bamboo instance.
To install this widget, run this command from your Dashing directory:
dashing install c80c1759aa78e4d7a7da
Then copy the bamboo-logo.png
file into the assets\images
folder
- Copy the below coffee/scss/html files into a widget folder named
bamboo_build
- Copy the
bamboo_build.rb
file into thejobs
folder - Copy the
bamboo-logo.png
file into theassets\images
folder
Update the configuration
element in the bamboo_build.rb
file with your bamboo instance uri and the plans you wish to monitor.
configuration = {
:bamboo_uri => 'http://bamboo:8085',
:credentials => {
:username => '',
:password => ''
},
:refresh_rate => '10s',
:plan_keys => %w[PLAN-ONE PLAN-TWO PLAN-THREE]
}
To include this widget in your dashboard, add the following snippet of code to the dashboard layout file:
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="PLAN-ONE" data-view="BambooBuild" data-title="Plan 1 Build"></div>
</li>
You'll need to update the data-id
with the name of your plan to show as defined in the bamboo_build.rb
file.