Dashing widget to display plan build details from your Bamboo instance.
To install this widget, run this command from your Dashing directory:
dashing install 10617832
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',
:rest_endpoint => '/rest/api/latest',
: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.
Hey widget is great, I've been working on one for stash pull requests, just putting out the number as opposed to the existing one that's out there. Quick question, how did you make the logo? Was thinking of creating something similar for stash's logo...