feat(build): trigger windows build after successfull CI build

This commit is contained in:
bergquist 2016-10-13 17:11:04 +02:00
parent 7bdedff89c
commit da2aaf7095
2 changed files with 10 additions and 0 deletions

View File

@ -28,3 +28,4 @@ deployment:
owner: grafana
commands:
- ./scripts/trigger_grafana_packer.sh ${TRIGGER_GRAFANA_PACKER_CIRCLECI_TOKEN}
- ./scripts/trigger_windows_build.sh ${APPVEYOR_TOKEN}

View File

@ -0,0 +1,9 @@
#!/bin/bash
_token=$1
curl \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${_token}" \
-X POST -d '{ "accountName": "Torkeldegaard", "projectSlug": "grafana","branch": "master","environmentVariables": {}}' \
https://ci.appveyor.com/api/builds