This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
[ "$VERBOSE" ] && set -x | |
set -euo pipefail | |
THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Variables required | |
CONCOURSE_URL="https://my.ci.com" | |
CONCOURSE_USER="a_user" | |
CONCOURSE_PASSWORD="a_password" | |
CONCOURSE_TEAM="some_team" | |
CONCOURSE_TARGET=mytarget | |
## Create a file named token that will be used to read and write tokens | |
touch token |