@@ -21,6 +21,9 @@ DCD_VERSION="@devicecloud.dev/dcd@>=3.3.6"
2121[[ " $x86_arch " == " true" ]] && is_x86_arch=" true"
2222[[ " $ignore_sha_check " == " true" ]] && is_ignore_sha_check=" true"
2323[[ " $skip_chrome_onboarding " == " true" ]] && is_skip_chrome_onboarding=" true"
24+ [[ " $debug " == " true" ]] && is_debug=" true"
25+ [[ " $json " == " true" ]] && is_json=" true"
26+ [[ " $json_file " == " true" ]] && is_json_file=" true"
2427# Change to source directory
2528cd $BITRISE_SOURCE_DIR
2629
@@ -56,6 +59,11 @@ echo "report: $report"
5659echo " ignore_sha_check: $ignore_sha_check "
5760echo " skip_chrome_onboarding: $skip_chrome_onboarding "
5861echo " runner_type: $runner_type "
62+ echo " is_debug: $is_debug "
63+ echo " is_json: $is_json "
64+ echo " is_json_file: $is_json_file "
65+ echo " config: $config "
66+ echo " artifacts_path: $artifacts_path "
5967
6068echo " Running command: npx --yes \" $DCD_VERSION \" cloud --quiet \
6169--apiKey \" $api_key \" \
@@ -83,6 +91,11 @@ ${report:+--report "$report"} \
8391${is_ignore_sha_check: +--ignore-sha-check} \
8492${is_skip_chrome_onboarding: +--skip-chrome-onboarding} \
8593${runner_type: +--runner-type " $runner_type " } \
94+ ${is_debug: +--debug} \
95+ ${is_json: +--json} \
96+ ${is_json_file: +--json-file} \
97+ ${config: +--config " $config " } \
98+ ${artifacts_path: +--artifacts-path " $artifacts_path " } \
8699\" $app_file \" \" $workspace \" "
87100
88101# Capture the command output and display it
@@ -114,6 +127,11 @@ ${report:+--report "$report"} \
114127${is_ignore_sha_check: +--ignore-sha-check} \
115128${is_skip_chrome_onboarding: +--skip-chrome-onboarding} \
116129${runner_type: +--runner-type " $runner_type " } \
130+ ${is_debug: +--debug} \
131+ ${is_json: +--json} \
132+ ${is_json_file: +--json-file} \
133+ ${config: +--config " $config " } \
134+ ${artifacts_path: +--artifacts-path " $artifacts_path " } \
117135" $app_file " " $workspace " 2>&1 ) || EXIT_CODE=$?
118136echo " $OUTPUT "
119137
0 commit comments