updated teamcity.sh

pull/2/head
Hari Sekhon 4 years ago
parent 48717a8272
commit 879286cfdf

@ -275,6 +275,12 @@ if [ "$user_already_exists" = 0 ]; then
echo >&2
fi
if [ -n "$TEAMCITY_GITHUB_CLIENT_ID" ] && [ -n "$TEAMCITY_GITHUB_CLIENT_SECRET" ]; then
# detects and skips creation if an OAuth provider named 'GitHub.com' already exists
"$srcdir/teamcity_create_github_oauth_provider.sh"
echo
fi
timestamp "getting list of expected agents"
expected_agents="$(docker-compose config | awk '/^[[:space:]]+AGENT_NAME:/ {print $2}' | sed '/^[[:space:]]*$/d')"
num_expected_agents="$(grep -c . <<< "$expected_agents" || :)"

Loading…
Cancel
Save