Revision b71e08ad5904266daafec3b21aecc5791bb51aa3 authored by Laura Benz on 13 October 2022, 10:12:50 UTC, committed by GitHub on 13 October 2022, 10:12:50 UTC
* refactor: remove camel case from tracking labels * refactor: remove camel case from tracking labels
1 parent efe214a
trigger_windows_build.sh
#!/bin/bash
_token=$1
_commit=$2
_buildType=$3
post_data=$(cat <<EOF
{
"accountName": "Torkeldegaard",
"projectSlug": "grafana",
"branch": "main",
"commitId": "${_commit}",
"environmentVariables": {
"buildType": "${_buildType}"
}
}
EOF
)
echo "${post_data}"
curl \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${_token}" \
--data "${post_data}" \
--request POST https://ci.appveyor.com/api/builds
Computing file changes ...