chocolatey-community / chocolatey-packages-template

A template to use when setting up to create packages both manual and automatic
Apache License 2.0
83 stars 348 forks source link

AppVeyor job won't run if the last committer was Chocolatey #5

Closed ferventcoder closed 8 years ago

ferventcoder commented 8 years ago

This is something @majkinetor noted - https://github.com/majkinetor/chocolatey/issues/21

It's similar here. We want the job to run each time, so perhaps just look at the last job run time and if it was a few minutes before, we halt it.

ferventcoder commented 8 years ago

Asking for a potential solution - https://twitter.com/ferventcoder/status/770298610160312320

ferventcoder commented 8 years ago

The solution is to write the commit with the message [skip-ci] - it will still build during cron schedule - https://twitter.com/appveyor/status/770299894175182849

ferventcoder commented 8 years ago

cc @danstis @mikecole @aronovgj - you may want to incorporate this one so that everything works appropriately

majkinetor commented 8 years ago

Yeah, I know about skip_ci but that is AV specific. If you use another build server it wont work, so I think both solutions should be in place.

ferventcoder commented 8 years ago

@majkinetor if you use another build server though, you'd make that change probably in its interface, not in appveyor.yml. ;)