From 1f0215d8e5c934c2821b114ea488e9dd83295fa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9sar=20Trigo=20Esteban?= Date: Tue, 4 Jun 2019 18:09:38 +0200 Subject: [PATCH] Fixed embedded docs for deployer --- step.sh | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/step.sh b/step.sh index b64b534..80ba4d3 100644 --- a/step.sh +++ b/step.sh @@ -72,25 +72,24 @@ echo ########################### curl_cmd="curl --fail" -curl_cmd="$curl_cmd -H \"Authorization: ${appToken}\"" +curl_cmd="$curl_cmd -H \"Authorization: bearer ${appToken}\"" curl_cmd="$curl_cmd -F \"versionName=${versionName}\"" curl_cmd="$curl_cmd -F \"changelog=${changelog}\"" curl_cmd="$curl_cmd -F \"notifyCollaborators=${notifyCollaborators}\"" curl_cmd="$curl_cmd -F \"notifyEmployees=${notifyEmployees}\"" -curl_cmd="$curl_cmd -F \"os=android\"" curl_cmd="$curl_cmd -F \"tags=${tags}\"" curl_cmd="$curl_cmd -F \"build=@${apk_path}\"" -curl_cmd="$curl_cmd -F \"deployer=bitrise\"" -curl_cmd="$curl_cmd -F \"commitMessage=${commitMessage}\"" -curl_cmd="$curl_cmd -F \"commit=${commit}\"" -curl_cmd="$curl_cmd -F \"branch=${branch}\"" -curl_cmd="$curl_cmd -F \"tag=${tag}\"" -curl_cmd="$curl_cmd -F \"triggerTimestamp=${triggerTimestamp}\"" -curl_cmd="$curl_cmd -F \"buildUrl=${buildUrl}\"" -curl_cmd="$curl_cmd -F \"ciUrl=${ciUrl}\"" -curl_cmd="$curl_cmd -F \"repositoryUrl=${repositoryUrl}\"" -curl_cmd="$curl_cmd -F \"buildNumber=${buildNumber}\"" -curl_cmd="$curl_cmd https://dashboard.applivery.com/api/builds" +curl_cmd="$curl_cmd -F \"deployer.name=bitrise\"" +curl_cmd="$curl_cmd -F \"deployer.info.commitMessage=${commitMessage}\"" +curl_cmd="$curl_cmd -F \"deployer.info.commit=${commit}\"" +curl_cmd="$curl_cmd -F \"deployer.info.branch=${branch}\"" +curl_cmd="$curl_cmd -F \"deployer.info.tag=${tag}\"" +curl_cmd="$curl_cmd -F \"deployer.info.triggerTimestamp=${triggerTimestamp}\"" +curl_cmd="$curl_cmd -F \"deployer.info.buildUrl=${buildUrl}\"" +curl_cmd="$curl_cmd -F \"deployer.info.ciUrl=${ciUrl}\"" +curl_cmd="$curl_cmd -F \"deployer.info.repositoryUrl=${repositoryUrl}\"" +curl_cmd="$curl_cmd -F \"deployer.info.buildNumber=${buildNumber}\"" +curl_cmd="$curl_cmd https://api.applivery.io/v1/integrations/builds" echo echo "=> Curl:"