pages /
17 lines | ISO-8859-1 | 819 bytes

Usage Scenario

Run CI job against merged commit when pull request changed files under src folder

How to Set Up

  1. Edit CI job definition to add a trigger upon build request open/update, with changed files matching src/**:

    Pull Request Build Job Trigger

  2. Now if a pull request contains commits changing files under src directory, the CI build will be fired automatically:

    Pull Request Build Successful

  3. However even if the CI build fails, the pull request can still merge as long as required reviewers approve. To enforce successful of CI build, we need to add a branch protection rule as below:

    Branch Protection Files Require Build

Please wait...
Page is in error, reload to recover