tag:help.appveyor.com,2012-11-13:/discussions/questions/499-alternative-options-to-skip-a-buildAppVeyor: Discussion 2018-10-19T08:16:43Ztag:help.appveyor.com,2012-11-13:Comment/344751812014-09-08T18:27:35Z2014-09-08T18:27:35ZAlternative options to skip a build<div><p>Hi Gary,</p>
<p>Could you give me an example of such commit message and the
filter you would setup?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/344751812014-09-08T18:29:25Z2014-09-08T18:29:25ZAlternative options to skip a build<div><p>oh, and feel free to add my GitHub username @FeodorFitsner to
any discussion you need my attention to :)</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/344751812014-09-08T20:22:57Z2014-09-08T20:22:57ZAlternative options to skip a build<div><p>Hello Feodor,</p>
<p>An example commit message can here seen here:</p>
<p><a href=
"https://github.com/gep13/gep13.github.io/commit/d8e959fb1fc90739f6dc35906a07a96a7ff9d65e">
https://github.com/gep13/gep13.github.io/commit/d8e959fb1fc90739f6d...</a></p>
<p>and another here:</p>
<p><a href=
"https://github.com/gep13/gep13.github.io/commit/f823eb39767eac6b43d1f6acfcb81e8949b17249">
https://github.com/gep13/gep13.github.io/commit/f823eb39767eac6b43d...</a></p>
<p>The commit message is relatively simplistic, with just the text
"Created", and then the name of the file that is being uploaded.
Assuming that this stayed consistent, a regex could be assigned for
something like "Created.*.(png|jpg|jpeg|bmp|gif)" (note, completely
off the top of my head, so likely not ideal :-))</p>
<p>I seem to have generated some discussion about including the
ability to modify the commit message which is made my Prose.io, so
something "might" happen there, but it is unclear. If I think you
can help, I will certainly pull you into the discussion. :-)</p>
<p>Thanks</p>
<p>Gary</p></div>gep13tag:help.appveyor.com,2012-11-13:Comment/344751812014-09-08T21:08:28Z2014-09-08T21:08:28ZAlternative options to skip a build<div><p>OK, I think filtering by commit message makes sense and helps
with some more interesting scenarios. To avoid obstructing UI with
yet another feature I could add an option to
<code>appveyor.yml</code>, something like:</p>
<pre>
<code>skip_commits:
message: Created.*\.(png|jpg|jpeg|bmp|gif)</code>
</pre>
<p>In the future we can add more to it, like "skip commits from
that author" :)</p>
<p>What do you think?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/344751812014-09-08T21:12:43Z2014-09-08T21:12:43ZAlternative options to skip a build<div><p>I think that sounds amazing! :-)</p>
<p>Please let me know if there is anything I can help with in terms
of testing this out.</p></div>gep13tag:help.appveyor.com,2012-11-13:Comment/344751812014-09-08T21:13:50Z2014-09-08T21:13:50ZAlternative options to skip a build<div><p>Would this replace the [ci skip] in the commit message, or be an
additional configuration check?</p></div>gep13tag:help.appveyor.com,2012-11-13:Comment/344751812014-09-08T21:16:56Z2014-09-08T21:16:56ZAlternative options to skip a build<div><p>That will be an addition to that.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/344751812014-09-08T21:18:40Z2014-09-08T21:18:40ZAlternative options to skip a build<div><p>Cool! Sounds like a plan to me. :-)</p></div>gep13tag:help.appveyor.com,2012-11-13:Comment/344751812014-09-20T10:04:08Z2014-09-20T10:04:08ZAlternative options to skip a build<div><p>Just wanted to touch base to see if there was an ETA on this
request.</p>
<p>Thanks!</p></div>gep13tag:help.appveyor.com,2012-11-13:Comment/344751812014-09-20T16:46:31Z2014-09-20T16:46:31ZAlternative options to skip a build<div><p>Will deliver this next week.</p>
<p>-Feodor</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/344751812014-09-20T18:33:57Z2014-09-20T18:33:57ZAlternative options to skip a build<div><p>That is great news! Looking forward to trying it out!</p>
<p>Gary</p></div>gep13tag:help.appveyor.com,2012-11-13:Comment/344751812014-09-23T22:00:12Z2014-09-23T22:00:12ZAlternative options to skip a build<div><p>Filed an issue here: <a href=
"https://github.com/appveyor/ci/issues/7">https://github.com/appveyor/ci/issues/7</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/344751812014-09-24T05:44:26Z2014-09-24T05:44:26ZAlternative options to skip a build<div><p>Perfect, thank you! As a suggestion, if you don't use something
else already, you might want to check out huboard.com. Gives you
Kanban functionality on top of GitHub issues for tracking progress.
I find it really useful for the projects I work on.</p></div>gep13tag:help.appveyor.com,2012-11-13:Comment/344751812014-10-02T18:50:45Z2014-10-02T18:50:45ZAlternative options to skip a build<div><p>Documented here: <a href=
"http://www.appveyor.com/docs/how-to/skip-build#commits-filter">http://www.appveyor.com/docs/how-to/skip-build#commits-filter</a></p>
<p>Give it a try and let me know how that worked for you.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/344751812014-10-10T20:15:45Z2014-10-10T20:15:45ZAlternative options to skip a build<div><p>Yip, looks like this is working! :-)</p>
<p>This commit:</p>
<p><a href=
"https://github.com/gep13/gep13.github.io/commit/67b79c07e837d051031cedb1ed6fccaeb72af424">
https://github.com/gep13/gep13.github.io/commit/67b79c07e837d051031...</a></p>
<p>Didn't result in a build being triggered:</p>
<p><a href=
"https://ci.appveyor.com/project/GaryEwanPark/gep13-github-io/history">
https://ci.appveyor.com/project/GaryEwanPark/gep13-github-io/history</a></p>
<p>Thanks!</p>
<p>Gary</p></div>gep13