Skip to content

Commit e869277

Browse files
authored
Merge 73ac103 into 3f5057a
2 parents 3f5057a + 73ac103 commit e869277

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

appveyor/scripts/setBuildVersionVars.ps1

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
$ErrorActionPreference = "Stop";
2-
# iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
2+
3+
# Accessing Windows build worker via Remote Desktop (RDP)
4+
# Set a password via Appveyor settings to enable, ensure passsword requirements are met
5+
# see docs: https://www.appveyor.com/docs/how-to/rdp-to-build-worker/
6+
if ($env:APPVEYOR_RDP_PASSWORD) {
7+
$rdpScriptURL = 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'
8+
iex ((new-object net.webclient).DownloadString($rdpScriptURL))
9+
}
10+
311
$pythonVersion = (py --version)
412
echo $pythonVersion
513
if ($env:APPVEYOR_REPO_TAG_NAME -and $env:APPVEYOR_REPO_TAG_NAME.StartsWith("release-")) {

0 commit comments

Comments
 (0)