From ae52fb6ffd0ccd0c94598196a6258ccf4d49b01c Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Mon, 5 Nov 2018 08:17:57 -0800 Subject: [PATCH] Fix PR build breaks Azure Pipelines doesn't yet allow publishing artifacts when building PRs from forks. This breaks job-to-job dependencies. --- azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a0c9cb15..24b4262a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -109,7 +109,7 @@ jobs: - job: Ubuntu_Xenial dependsOn: Windows - condition: succeeded() + condition: and(succeeded(), ne(variables['system.pullrequest.isfork'], true)) pool: vmImage: Ubuntu 16.04 container: xenial @@ -120,7 +120,7 @@ jobs: - job: Ubuntu_Bionic dependsOn: Windows - condition: succeeded() + condition: and(succeeded(), ne(variables['system.pullrequest.isfork'], true)) pool: vmImage: Ubuntu 16.04 # not a bug. we always use this pool, but use containers for the specific version container: bionic @@ -129,7 +129,7 @@ jobs: - job: macOS dependsOn: Windows - condition: succeeded() + condition: and(succeeded(), ne(variables['system.pullrequest.isfork'], true)) pool: vmImage: macOS 10.13 steps: