Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Configure the pull request flow to merge from the target branch (even if done locally) prior to running the build scanner

Code Block
languagebash
//retrieve the PR source code from the Git based SCM
git clone git@github.repo/repo.git
//retrieve the sha1 before the local merge
export commitSha1 = `git rev-parse HEAD`
//Merge latest changes from the target branch
git checkout branch_name

Cause #2

...