Skip to content

The world's simplest build server: post a git URL to a RESTful endpoint to run a build.

License

Notifications You must be signed in to change notification settings

danielflower/restabuild

Repository files navigation

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}
    

About

The world's simplest build server: post a git URL to a RESTful endpoint to run a build.

Resources

License

Stars

Watchers

Forks

Packages

No packages published