Revision 98fa7aee3f36e50a416823764564ca5adcb7c39d authored by Grot (@grafanabot) on 08 May 2023, 13:26:22 UTC, committed by GitHub on 08 May 2023, 13:26:22 UTC
Docs: Adds preview notification template docs (#67903)

Adds preview notification template

(cherry picked from commit 6464ce0239843aa3c5abbd32d5bdf8ecc63db5f8)

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
1 parent 8c2a741
Raw File
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
back to top