diff options
author | JC Aguilera <juanam@microsoft.com> | 2018-03-21 19:18:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-21 19:18:05 +0300 |
commit | f0e67370111645abc3877f6196ab51d749443f71 (patch) | |
tree | 4cab2d93a806e3b883c666d5fdf1b3257e2dc26d /buildpipeline | |
parent | 10f0a434e51e8e8b014dfafd88668f49195314d4 (diff) |
Change directory in AgentTools tasks
Diffstat (limited to 'buildpipeline')
-rw-r--r-- | buildpipeline/DotNet-CoreFx-Trusted-Windows-NoTest.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildpipeline/DotNet-CoreFx-Trusted-Windows-NoTest.json b/buildpipeline/DotNet-CoreFx-Trusted-Windows-NoTest.json index f9db14d1a2..1accb0f4fa 100644 --- a/buildpipeline/DotNet-CoreFx-Trusted-Windows-NoTest.json +++ b/buildpipeline/DotNet-CoreFx-Trusted-Windows-NoTest.json @@ -17,7 +17,7 @@ "targetType": "inline", "filePath": "", "arguments": "", - "script": "if (Test-Path \"$(AgentToolsPath)\\Begin.ps1\") {\n \"Begin.ps1 script found. Executing...\"\n & $(AgentToolsPath)\\Begin.ps1\n} else {\n \"Begin.ps1 script does not exist. Moving on...\"\n}", + "script": "if (Test-Path \"$(AgentToolsPath)\\Begin.ps1\") {\n \"Begin.ps1 script found. Executing...\"\n cd $(AgentToolsPath)\n & $(AgentToolsPath)\\Begin.ps1\n} else {\n \"Begin.ps1 script does not exist. Moving on...\"\n}", "errorActionPreference": "continue", "failOnStderr": "false", "ignoreLASTEXITCODE": "true", @@ -338,7 +338,7 @@ "targetType": "inline", "filePath": "", "arguments": "", - "script": "if (Test-Path \"$(AgentToolsPath)\\End.ps1\") {\n \"End.ps1 script found. Executing...\"\n & $(AgentToolsPath)\\End.ps1\n} else {\n \"End.ps1 script does not exist. Moving on...\"\n}", + "script": "if (Test-Path \"$(AgentToolsPath)\\End.ps1\") {\n \"End.ps1 script found. Executing...\"\n cd $(AgentToolsPath)\n & $(AgentToolsPath)\\End.ps1\n} else {\n \"End.ps1 script does not exist. Moving on...\"\n}", "errorActionPreference": "continue", "failOnStderr": "false", "ignoreLASTEXITCODE": "true", |