diff options
author | Juan Carlos Aguilera Mendez <juanam@microsoft.com> | 2018-03-15 18:18:49 -0700 |
---|---|---|
committer | Juan Carlos Aguilera Mendez <juanam@microsoft.com> | 2018-03-15 18:18:49 -0700 |
commit | 8b54e0b93f795ba983ce2f4b99ed85769ef25d03 (patch) | |
tree | 86fb8aea17546565d0fb629ab4c1447cbb80a788 /buildpipeline | |
parent | 8758f76b4e5ba6733e4f3184293414fc9182d06f (diff) | |
download | coreclr-8b54e0b93f795ba983ce2f4b99ed85769ef25d03.tar.gz coreclr-8b54e0b93f795ba983ce2f4b99ed85769ef25d03.tar.bz2 coreclr-8b54e0b93f795ba983ce2f4b99ed85769ef25d03.zip |
Move extension task at beginning and end of build def
Diffstat (limited to 'buildpipeline')
-rw-r--r-- | buildpipeline/Dotnet-CoreClr-Trusted-BuildTests.json | 96 |
1 files changed, 48 insertions, 48 deletions
diff --git a/buildpipeline/Dotnet-CoreClr-Trusted-BuildTests.json b/buildpipeline/Dotnet-CoreClr-Trusted-BuildTests.json index 78869758df..a7800a8883 100644 --- a/buildpipeline/Dotnet-CoreClr-Trusted-BuildTests.json +++ b/buildpipeline/Dotnet-CoreClr-Trusted-BuildTests.json @@ -1,5 +1,29 @@ { "build": [ + { + "environment": {}, + "enabled": true, + "continueOnError": true, + "alwaysRun": false, + "displayName": "Run AgentTools/Begin.ps1", + "timeoutInMinutes": 0, + "condition": "succeededOrFailed()", + "task": { + "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1", + "versionSpec": "2.*", + "definitionType": "task" + }, + "inputs": { + "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}", + "errorActionPreference": "continue", + "failOnStderr": "false", + "ignoreLASTEXITCODE": "true", + "workingDirectory": "" + } + }, { "environment": {}, "enabled": true, @@ -88,30 +112,6 @@ { "environment": {}, "enabled": true, - "continueOnError": true, - "alwaysRun": false, - "displayName": "Run AgentTools/Begin.ps1", - "timeoutInMinutes": 0, - "condition": "succeededOrFailed()", - "task": { - "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1", - "versionSpec": "2.*", - "definitionType": "task" - }, - "inputs": { - "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}", - "errorActionPreference": "continue", - "failOnStderr": "false", - "ignoreLASTEXITCODE": "true", - "workingDirectory": "" - } - }, - { - "environment": {}, - "enabled": true, "continueOnError": false, "alwaysRun": false, "displayName": "Run build-test.cmd", @@ -133,30 +133,6 @@ { "environment": {}, "enabled": true, - "continueOnError": true, - "alwaysRun": true, - "displayName": "Run AgentTools/End.ps1", - "timeoutInMinutes": 0, - "condition": "succeededOrFailed()", - "task": { - "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1", - "versionSpec": "2.*", - "definitionType": "task" - }, - "inputs": { - "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}", - "errorActionPreference": "continue", - "failOnStderr": "false", - "ignoreLASTEXITCODE": "true", - "workingDirectory": "" - } - }, - { - "environment": {}, - "enabled": true, "continueOnError": false, "alwaysRun": false, "displayName": "Send job to Helix", @@ -252,6 +228,30 @@ "branchFilters": "[\"+refs/heads/*\"]", "additionalFields": "{}" } + }, + { + "environment": {}, + "enabled": true, + "continueOnError": true, + "alwaysRun": true, + "displayName": "Run AgentTools/End.ps1", + "timeoutInMinutes": 0, + "condition": "succeededOrFailed()", + "task": { + "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1", + "versionSpec": "2.*", + "definitionType": "task" + }, + "inputs": { + "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}", + "errorActionPreference": "continue", + "failOnStderr": "false", + "ignoreLASTEXITCODE": "true", + "workingDirectory": "" + } } ], "variables": { |