Report POST details in rtd-trigger-build.sh
[releng/global-jjb.git] / shell / rtd-trigger-build.sh
index 30a04ca..d272c2d 100644 (file)
@@ -30,6 +30,7 @@ last_char=${RTD_BUILD_URL:length-1:1}
 # Handle case for gerrit event type is ref-updated when new tag are pushed
 [[ $GERRIT_EVENT_TYPE =~ "ref-updated" ]] && GERRIT_BRANCH=${GERRIT_REFNAME##*/}
 
+echo "INFO: Posting request for branch $GERRIT_BRANCH to URL $RTD_BUILD_URL"
 json=$(curl -X POST -d "branches=${GERRIT_BRANCH}" -d "token=$RTD_TOKEN" "$RTD_BUILD_URL")
 build_triggered=$(echo "$json" | jq -r .build_triggered)