tag:help.appveyor.com,2012-11-13:/discussions/questions/1790-minimum-payload-for-start-build-webhookAppVeyor: Discussion 2018-10-19T08:17:32Ztag:help.appveyor.com,2012-11-13:Comment/382573752015-10-21T17:04:10Z2015-10-21T17:04:10Zminimum payload for start build webhook<div><p>HI Richard,</p>
<p>This is it: <a href="https://gist.github.com/FeodorFitsner/f5b8b0b441aad6483eb3">https://gist.github.com/FeodorFitsner/f5b8b0b441aad6483eb3</a></p>
<p>Please let me know if you have any questions.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/382573752015-10-22T08:19:59Z2015-10-22T08:22:22Zminimum payload for start build webhook<div><p>Thanks!</p>
<p>Is it necessary to include the appveyor.yml contents? Can't
AppVeyor fetch it later from the when the repository is loaded? I
don't have access to the appveyor.yml file in the SCM webhook.</p></div>richardtag:help.appveyor.com,2012-11-13:Comment/382573752015-10-22T16:48:31Z2015-10-22T16:48:31Zminimum payload for start build webhook<div><p>It can't. The idea behind appveyor.yml is to be able to fetch
this particular file from repo at specific revision without cloning
entire repository. This is possible with APIs provided by GitHub,
BitBucket, VSO. Creating a new build is a 2-step process: 1) fetch
appveyor.yml with build (jobs) configuration and 2) create and
start build jobs. As far as I know Mercurial doesn't allow fetching
a single file from the repo.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/382573752015-10-22T17:00:03Z2015-10-22T17:00:03Zminimum payload for start build webhook<div><p>Ok, I understand now how it works.</p></div>richard