d8d4f8f424 | ||
---|---|---|
blueocean-admin | ||
blueocean-commons | ||
blueocean-plugin | ||
blueocean-rest | ||
blueocean-web | ||
js-extensions | ||
js-plugin-experiments | ||
.editorconfig | ||
.gitignore | ||
CONTRIBUTING.md | ||
LICENSE.txt | ||
PULL_REQUEST_TEMPLATE | ||
README.md | ||
logo-yarrr.png | ||
pom.xml |
README.md
This is BlueOcean repo. It is a multi-module maven project. Each sub-directory at the root of the repo is jenkins extension.
Blue Ocean is the new UI project for Jenkins.
Modules of note
(check the readme in each of them!)
blueocean-web
BlueOcean Web module, everything interesting web related lives here. If you are doing web, you want to be in here. You probably want to look at the README for this.
blueocean-plugin
Wraps up blueocean into a Jenkins plugin to run with an embedded Jenkins, provides implementation of REST interfaces needed for embedded mode.
blueocean-commons
Common libraries for various modules
blueocean-rest
Utilities and interfaces for the HTTP api that the Blue Ocean front end needs.
Building
Build everything (from root directory)
Builds all maven modules (run this the first time you check things out, at least)
$ mvn clean install
Running Blue Ocean
Go into blueocean-web and follow the README.md!
Debug and live reload with IntelliJ
Automatically deploys changes to an instance of blueocean that is run with hpi:run.
- Enable class reloading: Preferences > Build, Execution, Deployment > Debugger > HowSwap
- Reload classes in background
- Reload classes after compilation: always
- Create a Maven Run/Debug configuration
- Working Directory:
<project root>/all
- Command
hpi:run
- Runner > Properties: Enable Skip tests
- Runner > VM Options:
-Dblueocean.config.file=../app.properties
- Debug new configuration, and after compilation the class file will be reloaded