Browse Source

Add RDP debugging to appveyor YML

Edgar Andrés Margffoy Tuay 7 years ago
parent
commit
1b82785b53
1 changed files with 5 additions and 0 deletions
  1. 5 0
      appveyor.yml

+ 5 - 0
appveyor.yml

@@ -6,6 +6,8 @@ matrix:
 
 # environment variables
 environment:
+  global:
+    APPVEYOR_RDP_PASSWORD: "dcca4c4863E30d56c2e0dda6327370b3#"
   nodejs_version: "6.9"
   matrix:
 
@@ -56,3 +58,6 @@ build: off
 # to run your custom scripts instead of automatic tests
 test_script:
   - cmd /E:ON /V:ON /C .\\scripts\\appveyor.cmd
+
+on_finish:
+  - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))