How do I trigger an Environment deployment from the command line?
There's mention of appveyor.exe and PS scripts but I can't seem to find a definitive guide to doing it.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 24 May, 2014 01:29 AM
appveyor.exe and those PS scripts have a limited functionality for working with build worker only. However, if you take a look at this page http://www.appveyor.com/docs/api you'll see that it's pretty easy to call AppVeyor REST API from PowerShell.
Using AppVeyor REST API you can do literally everything you can see on UI! Right now only a small part of API is covered in documentation (we are still working on it), but you can use Fiddler to see what API methods are called when you browse environments, start a new deployment, etc.
Alternatively, you can just configure Environment deployment on Deployment tab of project settings.
Let me know if you have any questions!
2 Posted by Jon on 25 May, 2014 08:26 AM
How about being able to trigger a deploy from a commit message like skip?
i.e.
[deploy Staging]
Support Staff 3 Posted by Feodor Fitsner on 25 May, 2014 05:22 PM
Well, nice idea! Theoretically, there can be entire DSL for doing various CI things through commit comments :)
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:44 AM.