Trigger dependent codeship builds using API v2
Required environment variables
CODESHIP_USERNAME
CODESHIP_PASSWORD
This is the central configuration file for the build triggering process. All projects listed will be triggered for build. File must be in same directory.
simply provide the project UUID & branch name in the form if heads/BRANCH_NAME
see build_trigger.yml.example for examples
- Trigger dependent builds from Codeship steps adding the following as build step in master build
- name: Launch additional builds
service: app
command: bash -c "./bin/codeship-build-trigger "
- Trigger multiple builds from command line by simply executing binary
./codeship-build-trigger