Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Force VSTS to update status
For PR builds on branches we don't build anything, but we need to do something so that VSTS updates the status on GitHub for the pr builds.
  • Loading branch information
John Kleinschmidt committed Jul 5, 2018
1 parent c6a9dc1 commit 989b58d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion vsts.yml
Expand Up @@ -3,7 +3,7 @@ resources:
phases:
- phase: Build_libchromiumcontent
condition: or(eq(variables['System.PullRequest.IsFork'], 'True'), ne(variables['Build.Reason'], 'PullRequest'))
queue:
queue:
timeoutInMinutes: 180
steps:
- bash: |
Expand Down Expand Up @@ -123,3 +123,12 @@ phases:

- task: mspremier.PostBuildCleanup.PostBuildCleanup-task.PostBuildCleanup@3
condition: always()

- phase: Skip_libchromiumcontent_PR_build
condition: and(eq(variables['System.PullRequest.IsFork'], 'False'), eq(variables['Build.Reason'], 'PullRequest'))
steps:
- bash: |
echo "Skipping PR build for PR requested from branch."
- task: mspremier.PostBuildCleanup.PostBuildCleanup-task.PostBuildCleanup@3
condition: always()

0 comments on commit 989b58d

Please sign in to comment.