From 745b033edfb072de330aecacff6df4d4f01bcf9f Mon Sep 17 00:00:00 2001 From: tidusjar Date: Mon, 24 Jul 2017 22:10:28 +0100 Subject: [PATCH] appveyor build rdp investigation --- appveyor.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 10be3a859..366825ed5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,7 +3,11 @@ configuration: Release os: Visual Studio 2017 environment: nodejs_version: "7.8.0" + appveyor_rdp_password: Password1! + # Install scripts. (runs after repo cloning) +init: + - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) install: # Get the latest stable version of Node.js or io.js - ps: Install-Product node $env:nodejs_version @@ -88,3 +92,6 @@ deploy: draft: true on: branch: master + +on_finish: + - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))