Keeping track of how builds are started
When starting builds through the REST API would it be possible
to add a comment that is displayed in the build history and can be
retrieved via the build history REST API.
start build
Similarly for the build started through cron, although this
could include the fact that it was started using cron.
scheduled builds
We want to schedule build through cron, and slightly different builds through the api and track the quality using the history api of each of these. We need some way of distinguishing these builds.
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 Apr, 2015 03:13 AM
If you are OK with modifying build message then you may try implementing that with environment variables and Build Worker API.
When a build is started by scheduler it has
APPVEYOR_SCHEDULED_BUILD=True
(http://www.appveyor.com/docs/environment-variables). When you start from API you can pass any custom environment variables.On build init you can check those variables and modify build message using Build Worker API.
It's kind of a hack, but could work.
2 Posted by travis on 25 Apr, 2015 04:32 PM
Thanks, this worked great for the builds through the API. I don't see any issue why it wouldn't work from the scheduled builds.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:55 AM.