Skip to content

Commit a46ecbe

Browse files
authored
Merge db161ef into 3727692
2 parents 3727692 + db161ef commit a46ecbe

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

appveyor/scripts/setBuildVersionVars.ps1

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
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+
# To enable:
5+
# Set an RDP password (before triggering the build), ensure password requirements are met.
6+
# Remove the password after the RDP connection params are shown in the build output.
7+
# For passwords requirements and instructions for setting, see the appveyor docs:
8+
# https://www.appveyor.com/docs/how-to/rdp-to-build-worker/
9+
if ($env:APPVEYOR_RDP_PASSWORD) {
10+
$rdpScriptURL = 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'
11+
iex ((new-object net.webclient).DownloadString($rdpScriptURL))
12+
}
13+
314
$pythonVersion = (py --version)
415
echo $pythonVersion
516
if ($env:APPVEYOR_REPO_TAG_NAME -and $env:APPVEYOR_REPO_TAG_NAME.StartsWith("release-")) {

0 commit comments

Comments
 (0)