Confusion about how to change to OS
I need to run [our]( browser based Jasmine test suite on Windows 10, in order to test in MS edge. The default image, Windows Server 2012 R2 (x64), doesn't support UWP based software such as the Edge browser.
I'm using Karma to kick off the tests and act as a server for the test page. Karma uses launchers to start different browsers and I use karma-edge-launcher which in turn uses edge-launcher. You can see that edge-launcher fails to find MicrosoftEdge.exe
in our test log.
I've been trying to change to a Windows 10 image by specifying os
and image
. The documentation says image
.
#---------------------------------#
# environment configuration #
#---------------------------------#
# Build worker image (VM template)
image: Visual Studio 2015
I've read os
on some doc page but I can't find it - perhaps you changed it?
I've read somewhere that using Visual Studio 2015
means that I can run UWP applications and my guess is that it switches me to Windows Server 2016.
But after reading https://github.com/nickmccurdy/karma-edge-launcher/issues/14 and https://github.com/appveyor/ci/issues/1150, I think we need to get bumped up to Windows Server 2016. Is this possible?
Cheers, Jon
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
1 Posted by jon.ronnenberg on Mar 10, 2017 @ 05:35 PM
I found the page that says to use `os`. https://www.appveyor.com/updates/ Perhaps you should update it.
2 Posted by jon.ronnenberg on Mar 10, 2017 @ 05:38 PM
Here is another page that suggest `os`: https://www.appveyor.com/docs/installed-software/#visual-studio-2015
3 Posted by Ilya Finkelshte... on Mar 10, 2017 @ 08:28 PM
Hello Jon,
Please
image: Visual Studio 2017
. This is latest image which is based on Windows Server 2016.Please note however that build start time will be longer because it runs on Google cloud engine, where VM provisioning takes more time than on our own infrastructure. Will will migrate
Visual Studio 2017
to our own infrastructure soon.Thanks,
Ilya.
4 Posted by jon.ronnenberg on Mar 12, 2017 @ 05:47 PM
Thanks Ilya.
Is there anything in the log that indicate which image it's run on do I just print
ps: Write-Host (Get-WmiObject -class Win32_OperatingSystem).Caption
?5 Posted by jon.ronnenberg on Mar 12, 2017 @ 06:32 PM
It seems that Edge is not install on Microsoft Windows Server 2016 Datacenter.
https://ci.appveyor.com/project/dotnetCarpenter/svg-js
Can I install it?
6 Posted by jon.ronnenberg on Mar 12, 2017 @ 08:11 PM
Suddenly
- appveyor-retry npm install
stop working. Isappveyor-retry
not available on the Visual Studio 2017 image?See https://ci.appveyor.com/project/dotnetCarpenter/svg-js/build/1.0.33
7 Posted by jon.ronnenberg on Mar 12, 2017 @ 08:27 PM
I'm giving up trying to install Microsoft Edge without help. I can not find anywhere I can download it and it doesn't seem to be installed on Windows Server 2016 Datacenter.
Please advice.
Support Staff 8 Posted by Feodor Fitsner on Mar 12, 2017 @ 09:16 PM
Unfortunately, Edge is not available on Windows Server 2016: https://technet.microsoft.com/en-us/itpro/microsoft-edge/hardware-a...
Support Staff 9 Posted by Feodor Fitsner on Mar 13, 2017 @ 05:30 PM
By refreshenv you are removing
appveyor-retry
from PATH.Ilya Finkelshteyn closed this discussion on Aug 25, 2018 @ 02:15 AM.