go-bamboo-plugin
go-bamboo-plugin copied to clipboard
Plugin for Atlassian Bamboo that adds support for Go language projects
Go Plugin for Bamboo 
A plugin for Atlassian Bamboo that enables Bamboo to be used as a Continuous Integration server for Go projects.
Go Plugin for Bamboo is available on the Atlassian Marketplace: https://marketplace.atlassian.com/plugins/com.handcraftedbits.bamboo.plugin.go
Features
- Dependency fetcher task that uses Godep to fetch and install project dependencies.
- Test task that executes Go tests and integrates with Bamboo's native test result tracking functionality.
- Build task that builds and installs Go projects.
- Automatic detection of Go-related executables (
go
andgodep
) andGOROOT
environment variable.
Installation
Using the Atlassian Marketplace:
- Log in to your Bamboo server as an administrator.
- Click the administrator dropdown and choose Add-ons.
- Click Find new add-ons from the left-hand side of the page.
- Search for Go Plugin for Bamboo.
- Click Install to download and install.
Usage
See the user's guide for information on using the Go Plugin for Bamboo.
Tutorial
See the tutorial for a step-by-step look at how a Go project can be built and tested with Bamboo.
TODO
- ~~[ ] Generate Atlassian Clover-formatted code coverage reports
so
go test -cover
can be integrated natively into Bamboo.~~ - [ ] Create a merged
go tool cover -html
output file so all or part of the project's unit tests can be attached as a build artifact. - [ ] Support alternative dependency fetchers.
- [ ] Support other Go tools (e.g.,
go lint
,go vet
,go generate
).