Remove multiline. (#230)
This commit is contained in:
@@ -421,15 +421,10 @@ jobs:
|
||||
#platform/ios/scripts/metrics.sh
|
||||
- run:
|
||||
name: Trigger metrics
|
||||
command: >
|
||||
command: |
|
||||
if [[ $CIRCLE_BRANCH == master ]]; then
|
||||
if [ -n "${MOBILE_METRICS_TOKEN}" ]; then
|
||||
curl
|
||||
-u ${CIRCLE_CI_TOKEN}:
|
||||
-X POST
|
||||
--header "Content-Type: application/json"
|
||||
--data '{"parameters": {"run_ios_maps_benchmark": true, "ci_ref" : $CIRCLE_BUILD_NUM }, "branch": "master"}'
|
||||
https://circleci.com/api/v2/project/github/mapbox/mobile-metrics/pipeline
|
||||
curl -u ${CIRCLE_CI_TOKEN}: -X POST --header "Content-Type: application/json" --data '{"parameters": {"run_ios_maps_benchmark": true, "ci_ref" : $CIRCLE_BUILD_NUM }, "branch": "master"}' https://circleci.com/api/v2/project/github/mapbox/mobile-metrics/pipeline
|
||||
else
|
||||
echo "MOBILE_METRICS_TOKEN not provided"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user