diff options
author | Matt Mitchell <mmitche@microsoft.com> | 2018-04-11 09:57:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-11 09:57:48 -0700 |
commit | 7ae64f0f38b3135b88de148ca3be0526068d45aa (patch) | |
tree | 877439f8c988caa939c229a974ed143a3e49723c /buildpipeline | |
parent | 2998fdfa360805e3e71695120c54e76f14becbc5 (diff) | |
download | coreclr-7ae64f0f38b3135b88de148ca3be0526068d45aa.tar.gz coreclr-7ae64f0f38b3135b88de148ca3be0526068d45aa.tar.bz2 coreclr-7ae64f0f38b3135b88de148ca3be0526068d45aa.zip |
Ensure previous steps haven't failed when building tests (#17514)
Update conditions to ensure that we don't continue on failed test builds
Diffstat (limited to 'buildpipeline')
-rw-r--r-- | buildpipeline/tests/Dotnet-CoreClr-Trusted-BuildTests.json | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/buildpipeline/tests/Dotnet-CoreClr-Trusted-BuildTests.json b/buildpipeline/tests/Dotnet-CoreClr-Trusted-BuildTests.json index c955607615..b865ba8a87 100644 --- a/buildpipeline/tests/Dotnet-CoreClr-Trusted-BuildTests.json +++ b/buildpipeline/tests/Dotnet-CoreClr-Trusted-BuildTests.json @@ -31,7 +31,7 @@ "alwaysRun": false, "displayName": "Setup vs dev env", "timeoutInMinutes": 0, - "condition": "ne(variables['PB_SkipTests'], 'true')", + "condition": "and(succeeded(), ne(variables['PB_SkipTests'], 'true'))", "refName": "Task1", "task": { "id": "bfc8bf76-e7ac-4a8c-9a55-a944a9f632fd", @@ -53,7 +53,7 @@ "alwaysRun": false, "displayName": "Run clean.cmd", "timeoutInMinutes": 0, - "condition": "ne(variables['PB_SkipTests'], 'true')", + "condition": "and(succeeded(), ne(variables['PB_SkipTests'], 'true'))", "refName": "Task2", "task": { "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", @@ -74,7 +74,7 @@ "alwaysRun": false, "displayName": "Run sync.cmd", "timeoutInMinutes": 0, - "condition": "ne(variables['PB_SkipTests'], 'true')", + "condition": "and(succeeded(),ne(variables['PB_SkipTests'], 'true'))", "refName": "Task3", "task": { "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", @@ -95,7 +95,7 @@ "alwaysRun": false, "displayName": "Generate version props file", "timeoutInMinutes": 0, - "condition": "ne(variables['PB_SkipTests'], 'true')", + "condition": "and(succeeded(), ne(variables['PB_SkipTests'], 'true'))", "refName": "Task4", "task": { "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", @@ -116,7 +116,7 @@ "alwaysRun": false, "displayName": "Run build-test.cmd", "timeoutInMinutes": 0, - "condition": "ne(variables['PB_SkipTests'], 'true')", + "condition": "and(succeeded(), ne(variables['PB_SkipTests'], 'true'))", "refName": "Task5", "task": { "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", @@ -137,7 +137,7 @@ "alwaysRun": false, "displayName": "Send job to Helix", "timeoutInMinutes": 0, - "condition": "ne(variables['PB_SkipTests'], 'true')", + "condition": "and(succeeded(), ne(variables['PB_SkipTests'], 'true'))", "refName": "Task6", "task": { "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", |