From 3a8920a1e99e7d72ea1b498b3208443bcd017413 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 5 Jan 2020 00:41:33 -0500 Subject: [PATCH] Fixed: Always full build on branch builds --- azure-pipelines.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b630e4560..d3af4160f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -37,8 +37,12 @@ stages: - bash: echo "##vso[build.updatebuildnumber]$RADARRVERSION" displayName: Set Build Name - bash: | + if [[ $BUILD_REASON == "PullRequest" ]]; then git diff origin/aphrodite...HEAD --name-only | grep -E "^(src/|azure-pipelines.yml)" echo $? > not_backend_update + else + echo 0 > not_backend_update + fi cat not_backend_update displayName: Check for Backend File Changes - publish: not_backend_update