Versions Compared

Key

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

...

Code Block
languagebash
//retrieve the PR source code from the Git based SCM
git clone git@github.repo/repo.git
//retrieve the sha1 beforecreate a local integration branch starting from the target branch - do not push it to the localremote
mergegit exportcheckout commitSha1 = `git rev-parse HEAD`-b <local-integration-branch-name> <target-branch>
​
//Merge latestpull changesrequest frominto thelocal targetintegration branch
git pull --ff git@github.repo/repo.git checkout branch_name <pull-request-branch>
​
...
//run sealights build

Cause #2

The target branch contains commits that were not reported to sealights SeaLights and the user merged from the target branch to the pull request branch.

Note

A common reason is with target branch that have builds reported based on predefined frequency (hourly, daily) rather than after every single merge (commit) to that branch.
Sealights recommendation is for the later option.

...

Solution #2

Validate in the CI server (Jenkins, Bamboo…) that the last every commit from the SCM (target branch) was is reported to Sealights via a an automated build.
If not, initiate a build from both the target branch and then the PR branch.

...