Test on Windows 2012 and Windows 2016

Christoph Hartmann's Avatar

Christoph Hartmann

21 Mar, 2017 04:25 PM

First of all, thank you for the awesome service! For https://github.com/dev-sec/chef-windows-hardening we use Chef to harden Windows 2012 environments. We are going to extend it to Windows 2016 and we would like to test the cookbook on both operating systems. I just read that there is a way to define multiple operating systems in a build matrix. See https://www.appveyor.com/beta/ I couldn't find the documentation for that feature. Is there any place where you can point me to?

  1. 1 Posted by Ilya Finkelshte... on 21 Mar, 2017 06:06 PM

    Ilya Finkelshteyn's Avatar

    Hi Christoph,

    Thank you :) We have new build worker image named Visual Studio 2017 which is based on Windows Server 2016.
    Image is first-class dimension for build matrix, so you can have setting like this:

    image:
    - Visual Studio 2017
    - Visual Studio 2015
    
    or the same is UI, Settings > Environment tab (if you don't use YAML).

    Sorry, this https://www.appveyor.com/beta/ link is pretty outdated, everything implemented a while ago, and currently in production!

    Ilya.

  2. 2 Posted by Christoph Hartm... on 03 Apr, 2017 11:20 PM

    Christoph Hartmann's Avatar

    Thank you Ilya. That works like a charm. https://www.appveyor.com/docs/build-environment/#choosing-image-for-your-builds was also very helpful for me.

  3. 3 Posted by Ilya Finkelshte... on 03 Apr, 2017 11:25 PM

    Ilya Finkelshteyn's Avatar

    Thank you for update! Also please note that exclude configuration from the Matrix was just fixed, we will officially close it and update documentation in coming days. Maybe this would be useful for you.

    Ilya.

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:16 AM.

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