diff --git a/src/scripts/prerequisites.sh b/src/scripts/prerequisites.sh index d97e51b..f8ffc17 100755 --- a/src/scripts/prerequisites.sh +++ b/src/scripts/prerequisites.sh @@ -49,7 +49,6 @@ fetchRemoteGitHistory "${merge_instance_branch}" fetchRemoteGitHistory "${pr_branch}" merge_instance_branch_head_sha=$(git rev-parse "origin/${merge_instance_branch}") - pr_branch_head_sha=$(git rev-parse "${pr_branch}") echo "Identified changes: " "${impacts_all_detected}" diff --git a/src/scripts/upload_impacted_targets.sh b/src/scripts/upload_impacted_targets.sh index 539ecc2..230d53d 100755 --- a/src/scripts/upload_impacted_targets.sh +++ b/src/scripts/upload_impacted_targets.sh @@ -79,6 +79,8 @@ else num_impacted_targets=$(wc -l <"${IMPACTED_TARGETS_FILE}") fi +cat $POST_BODY + HTTP_STATUS_CODE=$( curl -s -o /dev/null -w '%{http_code}' -X POST \ -H "Content-Type: application/json" -H "x-api-token:${API_TOKEN}" \