diff --git a/.ci/jenkins_job_build.sh b/.ci/jenkins_job_build.sh index eeae90cf..749ef6d8 100755 --- a/.ci/jenkins_job_build.sh +++ b/.ci/jenkins_job_build.sh @@ -62,9 +62,22 @@ else git fetch origin && git checkout master && git reset --hard origin/master fi +# Run the static analysis tools +.ci/static-checks.sh + # Setup Kata Containers Environment .ci/setup.sh +if [ -n "$pr_number" ] +then + # Now that checkcommits has run, move the PR commits into the master + # branch before running the tests. Having the commits in "master" is + # required to ensure coveralls works. + git checkout master + git reset --hard "$pr_branch" + git branch -D "$pr_branch" +fi + # Run integration tests .ci/run.sh