Your self-hosted build server that lets you quickly build projects from a RESTful interface only.
Simply place build.sh
(or build.bat
if the build server is Windows) into the root of your project
and then POST
to /restabuild/api/v1/builds
with gitUrl
as a form parameter. The web UI gives
more detail on the API along with sample curl commands.
Run com.danielflower.restabuild.RunLocal.main
from your IDE. This will use the settings in
sample-config.properties
and give a link to open the UI.
See sample-config.properties
for configuration information. Each setting can be specified
as an environment variable, a java system property, or in a properties file whose path is
specified as a command line argument.
-
Create a config file (e.g. by copying
sample-config.properties
) and then execute the jar:java -jar {path-to-jar} {path-to-config}