.circleci/trigger_func_test.sh in fluent-plugin-k8s-metrics-agg-1.1.2 vs .circleci/trigger_func_test.sh in fluent-plugin-k8s-metrics-agg-1.1.3
- old
+ new
@@ -9,9 +9,10 @@
# Trigger functional test
curl -X POST --header "Content-Type: application/json" \
-d '{"build_parameters": {"CIRCLE_JOB":"build_test", "TRIG_BRANCH":"'"$CIRCLE_BRANCH"'", "TRIG_PROJECT":"'"$CIRCLE_PROJECT_REPONAME"'", "TRIG_REPO":"'"$CIRCLE_REPOSITORY_URL"'"}}' "https://circleci.com/api/v1/project/$ORGANIZATION/$PROJECT/tree/$BRANCH?circle-token=$CIRCLE_TOKEN" > build.json
cat build.json
BUILD_NUM=$(jq -r .build_num build.json)
+sleep 10
# Wait until finish or maximum 20 minutes
TIMEOUT=20
DONE="FALSE"
until [ "$TIMEOUT" -lt 0 ] || [ "$DONE" == "TRUE" ]; do