Revision 5df09bccb293dbc1ed25858e1c5ab796584ef9bd authored by George Robinson on 22 September 2023, 10:30:14 UTC, committed by grafana-delivery-bot[bot] on 22 September 2023, 10:31:50 UTC
(cherry picked from commit 15f6e8a5000e8c70d1a6a80ea1b84685dff20168)
1 parent 354c6a4
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
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...