From bf61274b2a64bfa5d3b13ba988a97e9d32934713 Mon Sep 17 00:00:00 2001 From: Julian Rex Date: Thu, 10 Oct 2019 16:27:02 -0400 Subject: [ios, android] Update curl command to indicate there is no password (as per https://circleci.com/docs/api/#authentication) (#15796) --- circle.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/circle.yml b/circle.yml index a26bdb39c1..b358e38d5f 100644 --- a/circle.yml +++ b/circle.yml @@ -839,7 +839,7 @@ jobs: command: | if [ -n "${MOBILE_METRICS_TOKEN}" ]; then if [[ $CIRCLE_BRANCH == master ]]; then - curl -u $MOBILE_METRICS_TOKEN -d build_parameters[CIRCLE_JOB]=android-core-benchmark https://circleci.com/api/v1.1/project/github/mapbox/mobile-metrics/tree/master + curl -u ${MOBILE_METRICS_TOKEN}: -d build_parameters[CIRCLE_JOB]=android-core-benchmark https://circleci.com/api/v1.1/project/github/mapbox/mobile-metrics/tree/master fi fi - run: @@ -847,7 +847,7 @@ jobs: command: | if [ -n "${MOBILE_METRICS_TOKEN}" ]; then if [[ $CIRCLE_BRANCH == master ]]; then - curl -u $MOBILE_METRICS_TOKEN -d build_parameters[CIRCLE_JOB]=android-benchmark https://circleci.com/api/v1.1/project/github/mapbox/mobile-metrics/tree/master + curl -u ${MOBILE_METRICS_TOKEN}: -d build_parameters[CIRCLE_JOB]=android-benchmark https://circleci.com/api/v1.1/project/github/mapbox/mobile-metrics/tree/master fi fi - run: @@ -1241,7 +1241,7 @@ jobs: command: | if [[ $CIRCLE_BRANCH == master ]]; then if [ -n "${MOBILE_METRICS_TOKEN}" ]; then - curl -u $MOBILE_METRICS_TOKEN -d build_parameters[CIRCLE_JOB]=ios-maps-benchmark https://circleci.com/api/v1.1/project/github/mapbox/mobile-metrics/tree/master + curl -u ${MOBILE_METRICS_TOKEN}: -d build_parameters[CIRCLE_JOB]=ios-maps-benchmark https://circleci.com/api/v1.1/project/github/mapbox/mobile-metrics/tree/master else echo "MOBILE_METRICS_TOKEN not provided" fi -- cgit v1.2.1