Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
73a6990b
Unverified
Commit
73a6990b
authored
Feb 12, 2020
by
SparkSnail
Committed by
GitHub
Feb 12, 2020
Browse files
Fix remote windows pipeline (#2032)
parent
affb2118
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
test/pipelines-it-remote-windows.yml
test/pipelines-it-remote-windows.yml
+4
-1
No files found.
test/pipelines-it-remote-windows.yml
View file @
73a6990b
...
@@ -32,7 +32,10 @@ jobs:
...
@@ -32,7 +32,10 @@ jobs:
-
powershell
:
|
-
powershell
:
|
Write-Host "Downloading Putty..."
Write-Host "Downloading Putty..."
(New-Object Net.WebClient).DownloadFile("https://the.earth.li/~sgtatham/putty/latest/w64/pscp.exe", "$(Agent.TempDirectory)\pscp.exe")
(New-Object Net.WebClient).DownloadFile("https://the.earth.li/~sgtatham/putty/latest/w64/pscp.exe", "$(Agent.TempDirectory)\pscp.exe")
$(Agent.TempDirectory)\pscp.exe -hostkey $(hostkey) -pw $(pscp_pwd) $(remote_user)@$(remote_host):/tmp/nnitest/$(Build.BuildId)/port test\port
Write-Host "Download Putty success!"
Write-Host "Connecting to host..."
$(Agent.TempDirectory)\pscp.exe -P $(remote_port) -hostkey $(hostkey) -pw $(pscp_pwd) $(remote_user)@$(remote_host):/tmp/nnitest/$(Build.BuildId)/port test\port
Write-Host "Get port success!"
Get-Content test\port
Get-Content test\port
displayName
:
'
Get
docker
port'
displayName
:
'
Get
docker
port'
-
powershell
:
|
-
powershell
:
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment