if [ "$CIRCLE_BRANCH" = "test_branch" ] || [ "$CIRCLE_BRANCH" = "master" ]; then curl -X POST \ --header "Circle-Token: $CIRCLECI_API_TOKEN" \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --url https://circleci.com/api/v2/project/bitbucket/......... \ --data '{ "branch": "$CIRCLE_BRANCH" }' fi
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)