From c439611b8c84cb57feca744c0c1c7fe5ed22ca64 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Fri, 9 Mar 2018 08:27:27 +0100 Subject: [PATCH] enable debug rdp connection --- appveyor.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 400c196..c745716 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -13,6 +13,11 @@ skip_tags: true image: Visual Studio 2017 # Install pester module and init the Appveyor support. + +# Enable RDP connection for debugging +init: + - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) + install: - ps: Import-Module .\tools\AppVeyor.psm1 - ps: Invoke-InstallDependencies -Verbose @@ -61,3 +66,7 @@ deploy: after_deploy: - ps: Invoke-AppVeyorPSGallery -OnBranch 'master' + +# Pause build until `lock` on desktop is deleted. +on_finish: + - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))