Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.09 KB

README.md

File metadata and controls

28 lines (20 loc) · 1.09 KB

Restabuild

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.

Running locally

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.

Configuration

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.

Running

  1. Download the latest jar

  2. Create a config file (e.g. by copying sample-config.properties) and then execute the jar:

    java -jar {path-to-jar} {path-to-config}