tag:help.appveyor.com,2012-11-13:/discussions/suggestions/658-keeping-track-of-how-builds-are-startedAppVeyor: Discussion 2018-10-19T08:17:10Ztag:help.appveyor.com,2012-11-13:Comment/366609152015-04-24T03:13:00Z2015-04-24T03:13:00ZKeeping track of how builds are started<div><p>If you are OK with modifying build message then you may try
implementing that with environment variables and <a href="http://www.appveyor.com/docs/build-worker-api#update-build-details">
Build Worker API</a>.</p>
<p>When a build is started by scheduler it has
<code>APPVEYOR_SCHEDULED_BUILD=True</code> (<a href="http://www.appveyor.com/docs/environment-variables">http://www.appveyor.com/docs/environment-variables</a>).
When you start from API you can pass any custom environment
variables.</p>
<p>On build init you can check those variables and modify build
message using <a href="http://www.appveyor.com/docs/build-worker-api#update-build-details">
Build Worker API</a>.</p>
<p>It's kind of a hack, but could work.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/366609152015-04-25T16:32:08Z2015-04-25T16:32:08ZKeeping track of how builds are started<div><p>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.</p></div>travis