# Bitbucket Server

![Bitbucket Server](./etc/misc/product-logo.png)

## References

- [Home](https://extranet.atlassian.com/display/BB/)
- [JIRA dev](https://jira.atlassian.com/projects/BSERVDEV/issues/)
- [JIRA public](https://jira.atlassian.com/projects/BSERV/issues/)
- [Bamboo](https://server-syd-bamboo.internal.atlassian.com/browse/BSERV)
- [DevHub](https://extranet.atlassian.com/display/STASH/Stash+Development+Hub)
- [Core Values](https://extranet.atlassian.com/display/STASH/Stash+Core+Development+Values)
- [IDEA](https://extranet.atlassian.com/display/BB/HOWTO+-+Running+Bitbucket+Server+in+IDEA)
- [N00bs](https://extranet.atlassian.com/display/BB/Bitbucket+Sydney+team+-+Information+for+new+members)
- [Bootcampers](https://extranet.atlassian.com/display/BB/HOWTO+-+Contribute+to+Stash+for+Bootcamp)

## How to build and run tests

Bitbucket Server requires Maven 3.3.3 and Java 8.

    mvn clean install

## How to run and debug

* Use your editor. Setting up Bitbucket Server in IDEA, and debugging it from there, is [well-documented](https://extranet.atlassian.com/display/BB/HOWTO+-+Running+Bitbucket+Server+in+IDEA)
* Use AMPS -- `mvn bitbucket:run` or `mvn bitbucket:debug` -- from `func-text/browser` or `func-test/rest`
    * If you've built Bitbucket Server first, `bitbucket:run` or `bitbucket:debug` will use your local webapp
