summaryrefslogtreecommitdiff
path: root/buildpipeline
diff options
context:
space:
mode:
authorCesar Soares Lucas <disoares@microsoft.com>2018-04-02 14:49:12 -0700
committerCesar Soares Lucas <disoares@microsoft.com>2018-04-02 14:49:12 -0700
commitc1142249bba77bc3bbe35d7806d9dc0eafaed535 (patch)
treec0786a8049eb6f8d6d81856caca54f3d10247f29 /buildpipeline
parent2583ce936776a0eac31df904e41d5119840c203b (diff)
downloadcoreclr-c1142249bba77bc3bbe35d7806d9dc0eafaed535.tar.gz
coreclr-c1142249bba77bc3bbe35d7806d9dc0eafaed535.tar.bz2
coreclr-c1142249bba77bc3bbe35d7806d9dc0eafaed535.zip
Adding Begin/End definitions. Formatting correctly.
Diffstat (limited to 'buildpipeline')
-rw-r--r--buildpipeline/DotNet-CoreClr-Trusted-Linux-Crossbuild.json48
-rw-r--r--buildpipeline/DotNet-CoreClr-Trusted-Linux.json48
-rw-r--r--buildpipeline/DotNet-CoreClr-Trusted-Mac.json50
-rw-r--r--buildpipeline/DotNet-CoreClr-Trusted-Windows-x86.json50
-rw-r--r--buildpipeline/DotNet-CoreClr-Trusted-Windows.json50
-rw-r--r--buildpipeline/DotNet-Trusted-Publish-Symbols.json48
-rw-r--r--buildpipeline/DotNet-Trusted-Publish.json48
7 files changed, 339 insertions, 3 deletions
diff --git a/buildpipeline/DotNet-CoreClr-Trusted-Linux-Crossbuild.json b/buildpipeline/DotNet-CoreClr-Trusted-Linux-Crossbuild.json
index a278d1b433..ef671ffe68 100644
--- a/buildpipeline/DotNet-CoreClr-Trusted-Linux-Crossbuild.json
+++ b/buildpipeline/DotNet-CoreClr-Trusted-Linux-Crossbuild.json
@@ -3,6 +3,30 @@
{
"environment": {},
"enabled": true,
+ "continueOnError": true,
+ "alwaysRun": false,
+ "displayName": "Run AgentTools/Begin.sh",
+ "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.sh\") {\n \"Begin.sh script found. Executing...\"\n cd $(AgentToolsPath)\n & $(AgentToolsPath)\\Begin.sh\n} else {\n \"Begin.sh script does not exist. Moving on...\"\n}",
+ "errorActionPreference": "continue",
+ "failOnStderr": "false",
+ "ignoreLASTEXITCODE": "true",
+ "workingDirectory": ""
+ }
+ },
+ {
+ "environment": {},
+ "enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Initialize tools",
@@ -367,6 +391,30 @@
"workingFolder": "",
"failOnStandardError": "false"
}
+ },
+ {
+ "environment": {},
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": true,
+ "displayName": "Run AgentTools/End.sh",
+ "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.sh\") {\n \"End.sh script found. Executing...\"\n cd $(AgentToolsPath)\n & $(AgentToolsPath)\\End.sh\n} else {\n \"End.sh script does not exist. Moving on...\"\n}",
+ "errorActionPreference": "continue",
+ "failOnStderr": "false",
+ "ignoreLASTEXITCODE": "true",
+ "workingDirectory": ""
+ }
}
],
"options": [
diff --git a/buildpipeline/DotNet-CoreClr-Trusted-Linux.json b/buildpipeline/DotNet-CoreClr-Trusted-Linux.json
index 077b68b5de..54065c0aab 100644
--- a/buildpipeline/DotNet-CoreClr-Trusted-Linux.json
+++ b/buildpipeline/DotNet-CoreClr-Trusted-Linux.json
@@ -3,6 +3,30 @@
{
"environment": {},
"enabled": true,
+ "continueOnError": true,
+ "alwaysRun": false,
+ "displayName": "Run AgentTools/Begin.sh",
+ "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.sh\") {\n \"Begin.sh script found. Executing...\"\n cd $(AgentToolsPath)\n & $(AgentToolsPath)\\Begin.sh\n} else {\n \"Begin.sh script does not exist. Moving on...\"\n}",
+ "errorActionPreference": "continue",
+ "failOnStderr": "false",
+ "ignoreLASTEXITCODE": "true",
+ "workingDirectory": ""
+ }
+ },
+ {
+ "environment": {},
+ "enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Initialize tools",
@@ -327,6 +351,30 @@
"workingFolder": "",
"failOnStandardError": "false"
}
+ },
+ {
+ "environment": {},
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": true,
+ "displayName": "Run AgentTools/End.sh",
+ "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.sh\") {\n \"End.sh script found. Executing...\"\n cd $(AgentToolsPath)\n & $(AgentToolsPath)\\End.sh\n} else {\n \"End.sh script does not exist. Moving on...\"\n}",
+ "errorActionPreference": "continue",
+ "failOnStderr": "false",
+ "ignoreLASTEXITCODE": "true",
+ "workingDirectory": ""
+ }
}
],
"options": [
diff --git a/buildpipeline/DotNet-CoreClr-Trusted-Mac.json b/buildpipeline/DotNet-CoreClr-Trusted-Mac.json
index a9dffd94ce..bdc5ace779 100644
--- a/buildpipeline/DotNet-CoreClr-Trusted-Mac.json
+++ b/buildpipeline/DotNet-CoreClr-Trusted-Mac.json
@@ -3,6 +3,30 @@
{
"environment": {},
"enabled": true,
+ "continueOnError": true,
+ "alwaysRun": false,
+ "displayName": "Run AgentTools/Begin.sh",
+ "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.sh\") {\n \"Begin.sh script found. Executing...\"\n cd $(AgentToolsPath)\n & $(AgentToolsPath)\\Begin.sh\n} else {\n \"Begin.sh script does not exist. Moving on...\"\n}",
+ "errorActionPreference": "continue",
+ "failOnStderr": "false",
+ "ignoreLASTEXITCODE": "true",
+ "workingDirectory": ""
+ }
+ },
+ {
+ "environment": {},
+ "enabled": true,
"continueOnError": false,
"alwaysRun": false,
"displayName": "Run $(Agent.BuildDirectory)/s/clean.sh",
@@ -185,6 +209,30 @@
"Parallel": "false",
"ParallelCount": "8"
}
+ },
+ {
+ "environment": {},
+ "enabled": true,
+ "continueOnError": true,
+ "alwaysRun": true,
+ "displayName": "Run AgentTools/End.sh",
+ "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.sh\") {\n \"End.sh script found. Executing...\"\n cd $(AgentToolsPath)\n & $(AgentToolsPath)\\End.sh\n} else {\n \"End.sh script does not exist. Moving on...\"\n}",
+ "errorActionPreference": "continue",
+ "failOnStderr": "false",
+ "ignoreLASTEXITCODE": "true",
+ "workingDirectory": ""
+ }
}
],
"options": [
@@ -311,4 +359,4 @@
"revision": 418098432,
"visibility": "organization"
}
-} \ No newline at end of file
+}
diff --git a/buildpipeline/DotNet-CoreClr-Trusted-Windows-x86.json b/buildpipeline/DotNet-CoreClr-Trusted-Windows-x86.json
index a4ae2bf669..0c68d3b237 100644
--- a/buildpipeline/DotNet-CoreClr-Trusted-Windows-x86.json
+++ b/buildpipeline/DotNet-CoreClr-Trusted-Windows-x86.json
@@ -3,6 +3,30 @@
{
"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 cd $(AgentToolsPath)\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": "Install Signing Plugin",
@@ -275,6 +299,30 @@
"Parallel": "false",
"ParallelCount": "8"
}
+ },
+ {
+ "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 cd $(AgentToolsPath)\n & $(AgentToolsPath)\\End.ps1\n} else {\n \"End.ps1 script does not exist. Moving on...\"\n}",
+ "errorActionPreference": "continue",
+ "failOnStderr": "false",
+ "ignoreLASTEXITCODE": "true",
+ "workingDirectory": ""
+ }
}
],
"options": [
@@ -435,4 +483,4 @@
"revision": 418098432,
"visibility": "organization"
}
-} \ No newline at end of file
+}
diff --git a/buildpipeline/DotNet-CoreClr-Trusted-Windows.json b/buildpipeline/DotNet-CoreClr-Trusted-Windows.json
index ef03b0b69c..1c9e727d0e 100644
--- a/buildpipeline/DotNet-CoreClr-Trusted-Windows.json
+++ b/buildpipeline/DotNet-CoreClr-Trusted-Windows.json
@@ -3,6 +3,30 @@
{
"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 cd $(AgentToolsPath)\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": "Install Signing Plugin",
@@ -275,6 +299,30 @@
"Parallel": "false",
"ParallelCount": "8"
}
+ },
+ {
+ "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 cd $(AgentToolsPath)\n & $(AgentToolsPath)\\End.ps1\n} else {\n \"End.ps1 script does not exist. Moving on...\"\n}",
+ "errorActionPreference": "continue",
+ "failOnStderr": "false",
+ "ignoreLASTEXITCODE": "true",
+ "workingDirectory": ""
+ }
}
],
"options": [
@@ -428,4 +476,4 @@
"revision": 418098432,
"visibility": "organization"
}
-} \ No newline at end of file
+}
diff --git a/buildpipeline/DotNet-Trusted-Publish-Symbols.json b/buildpipeline/DotNet-Trusted-Publish-Symbols.json
index d796a21c93..507c9e1b1a 100644
--- a/buildpipeline/DotNet-Trusted-Publish-Symbols.json
+++ b/buildpipeline/DotNet-Trusted-Publish-Symbols.json
@@ -1,6 +1,30 @@
{
"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 cd $(AgentToolsPath)\n & $(AgentToolsPath)\\Begin.ps1\n} else {\n \"Begin.ps1 script does not exist. Moving on...\"\n}",
+ "errorActionPreference": "continue",
+ "failOnStderr": "false",
+ "ignoreLASTEXITCODE": "true",
+ "workingDirectory": ""
+ }
+ },
+ {
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
@@ -79,6 +103,30 @@
"expirationInDays": "30",
"usePat": "false"
}
+ },
+ {
+ "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 cd $(AgentToolsPath)\n & $(AgentToolsPath)\\End.ps1\n} else {\n \"End.ps1 script does not exist. Moving on...\"\n}",
+ "errorActionPreference": "continue",
+ "failOnStderr": "false",
+ "ignoreLASTEXITCODE": "true",
+ "workingDirectory": ""
+ }
}
],
"options": [
diff --git a/buildpipeline/DotNet-Trusted-Publish.json b/buildpipeline/DotNet-Trusted-Publish.json
index 8cff0ee820..eb24555a53 100644
--- a/buildpipeline/DotNet-Trusted-Publish.json
+++ b/buildpipeline/DotNet-Trusted-Publish.json
@@ -3,6 +3,30 @@
{
"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 cd $(AgentToolsPath)\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": "Install Signing Plugin",
@@ -479,6 +503,30 @@
"definitionType": "task"
},
"inputs": {}
+ },
+ {
+ "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 cd $(AgentToolsPath)\n & $(AgentToolsPath)\\End.ps1\n} else {\n \"End.ps1 script does not exist. Moving on...\"\n}",
+ "errorActionPreference": "continue",
+ "failOnStderr": "false",
+ "ignoreLASTEXITCODE": "true",
+ "workingDirectory": ""
+ }
}
],
"options": [