Scripts to build gerrit and plugins.
These scripts drive the Gerrit nightly builds at builds.quelltextlich.at.
-
Make sure you either have
jdk,ant, andmaveninstalled in your system. -
Clone the
gerrit-builderrepository by runninggit clone git://git.quelltextlich.at/gerrit/gerrit-builder -
Change into the clone's directory by running
cd gerrit-builder -
Tell
gerrit-builderto fetch the gerrit repo and plugin repos, and setup the needed build tools likewatchman, andbuck:./setup.sh -
To build
gerritand the plugins, run./build.sh -
You'll find the built artifacts in the directory
builds/$DATE, and if you point your browser, tobuilds/$DATE/index.html, you'll get a nice overview page for the build and the artifacts' status. -
Use
./build.sh --helpto see the script's help page.