Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Simple CircleCI Build Trigger
# This script is to trigger another CircleCI build inside a CircleCI build easily
# Author: Stewart Park <>
# Usage:
# curl -L | PROJECT=username/repo-name API_TOKEN=create-one-on-circleci-config bash
set -e
# Install dependencies
sudo apt-get install jq
curl -o ~/bin/circleci
chmod 755 ~/bin/circleci
# Trigger the project
circleci init --token $API_TOKEN
circleci trigger $PROJECT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.