Could commit in branches with no appveyor.yml be not reported as failures?

olivler.grisel's Avatar

olivler.grisel

15 Jul, 2014 07:45 AM

On the process to converting a project to appveyor, old branches that are still being worked on might not have appveyor.yml yet as they might not have been rebased on master yet.

Would it be possible to just ignore those branches or at least report them with a special status different that "failed"?

  1. Support Staff 1 Posted by Feodor Fitsner on 15 Jul, 2014 09:07 AM

    Feodor Fitsner's Avatar

    That's a good question. Maybe we could use ignored branches configured on UI?...

  2. 2 Posted by olivler.grisel on 15 Jul, 2014 01:00 PM

    olivler.grisel's Avatar

    The problem is that you don't know the list of branches ahead of time. On our project we have 160+ open pull requests, some are several months old but can get reactivated by the original contributors at any point by pushing new commits.

    We don't want such old branches with open pull requests to master to trigger build failures while they are not rebased on top of the current master that has the appveyor.yml config file.

    Restricting to the branch "master" in the settings UI does not solve the problem as any branch involved in the PR to "master" is being tracked by appveyor.

  3. Support Staff 3 Posted by Feodor Fitsner on 15 Jul, 2014 01:06 PM

    Feodor Fitsner's Avatar

    Yeah, interesting problem. Sounds like another option Do not build if appveyor.yml is not found, right?

  4. 4 Posted by olivler.grisel on 15 Jul, 2014 03:23 PM

    olivler.grisel's Avatar

    Yes.

  5. Support Staff 5 Posted by Feodor Fitsner on 15 Jul, 2014 06:23 PM

    Feodor Fitsner's Avatar

    Or better wroding Skip branches without appveyor.yml! :)

  6. Support Staff 6 Posted by Feodor Fitsner on 17 Jul, 2014 08:44 AM

    Feodor Fitsner's Avatar

    An update with this feature has been just deployed.

  7. 7 Posted by olivler.grisel on 17 Jul, 2014 04:03 PM

    olivler.grisel's Avatar

    Thanks!

  8. olivler.grisel closed this discussion on 17 Jul, 2014 04:03 PM.

  9. olivler.grisel re-opened this discussion on 19 Jul, 2014 03:42 PM

  10. 8 Posted by olivler.grisel on 19 Jul, 2014 03:43 PM

    olivler.grisel's Avatar

    Actually I just add the same problem on this build:

    https://ci.appveyor.com/project/ogrisel/joblib/build/1.0.9

  11. Support Staff 9 Posted by Feodor Fitsner on 19 Jul, 2014 04:02 PM

    Feodor Fitsner's Avatar

    Set "Skip branches without appveyor.yml" option on General tab of that project settings.

  12. 10 Posted by olivler.grisel on 23 Jul, 2014 05:08 PM

    olivler.grisel's Avatar

    Found it, thanks.

  13. olivler.grisel closed this discussion on 25 Jul, 2014 01:28 PM.

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

Recent Discussions

13 Dec, 2019 05:26 PM
13 Dec, 2019 11:28 AM
12 Dec, 2019 09:36 PM
12 Dec, 2019 09:25 PM
12 Dec, 2019 06:01 PM

 

11 Dec, 2019 11:29 PM
11 Dec, 2019 08:47 PM
11 Dec, 2019 01:39 PM
10 Dec, 2019 12:29 AM
09 Dec, 2019 05:35 AM
07 Dec, 2019 04:20 PM