Skip to content

Commit 935c3fc

Browse files
committed
Disable RDP access to the AppVeyor [win build]
1 parent b8e8e34 commit 935c3fc

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.appveyor.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ init:
5959
- SET PATH=C:\Program Files (x86)\Microsoft Visual Studio %PHP_VC%.0\VC;C:\Program Files (x86)\Microsoft Visual Studio %PHP_VC%.0\VC\bin;%PATH%
6060
- SET ANSICON=121x90 (121x90)
6161
- ps: IF ($env:APPVEYOR_REPO_BRANCH -eq "development") {$env:APPVEYOR_CACHE_SKIP_SAVE = "true"}
62-
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
6362

6463
os: Windows Server 2012 R2
6564

@@ -215,8 +214,11 @@ on_failure:
215214
on_success:
216215
- 'dir'
217216

218-
on_finish:
219-
- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
217+
# If you need to investigate worker on build finish uncomment this
218+
# to display Remote Desktop connection details and pause the build
219+
# until a special “lock” file on VM desktop is deleted
220+
#on_finish:
221+
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
220222

221223
artifacts:
222224
- path: '.\*.zip'

0 commit comments

Comments
 (0)