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

Folders and files

NameName
Last commit message
Last commit date
May 20, 2024
Mar 2, 2018
Sep 8, 2021
Jun 22, 2024
Mar 31, 2019
Feb 10, 2018
Mar 13, 2016
Dec 19, 2020
Mar 13, 2016
Dec 19, 2020
Jun 22, 2024
Jun 22, 2024

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