Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
74c5c536
Commit
74c5c536
authored
Jan 31, 2017
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tech(build): update windows trigger
parent
afd13594
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
4 deletions
+23
-4
scripts/trigger_windows_build.sh
+23
-4
No files found.
scripts/trigger_windows_build.sh
View file @
74c5c536
#!/bin/bash
_token
=
$1
_commit
=
$2
_buildType
=
$3
post_data
=
$(
cat
<<
EOF
{
"accountName": "Torkeldegaard",
"projectSlug": "grafana",
"branch": "master",
"commitId": "
${
_commit
}
",
"environmentVariables": {
"buildType": "
${
_buildType
}
"
}
}
EOF
)
echo
${
post_data
}
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
--verbose
\
--header
"Accept: application/json"
\
--header
"Content-Type: application/json"
\
--header
"Authorization: Bearer
${
_token
}
"
\
--data
"
${
post_data
}
"
\
--request
POST https://ci.appveyor.com/api/builds
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment