GoCD plugin to introduce a material, that watches on a sub-directory of git repository a.k.a GoCD plugin to support for Monorepos
Known bug/feature: After plugin installation, you will be able to see GitPathMaterial as a material type only in edit. So add a git material when you add new pipeline, edit to add new GitPathMaterial and remove the old one.
execute the following command to build the plugin
./gradlew clean build
You can quickly test the plugin using Docker, ensure you have installed docker, refer docker installation guide for installing docker for different environments
Execute the following gradle task to start the go-server
./gradlew clean startGoCd
You can now access the go-server via port 8153
If you like to reload the go-server with new build run,
./gradlew clean restartGoCd
You can stop the running docker instance with the following gradle task
./gradlew clean stopGoCd