diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2014-08-27 15:34:10 +0300 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2014-08-27 15:34:10 +0300 |
commit | 5da56fa5972b6cce003c15bfa3533a02561a07d4 (patch) | |
tree | eaddf39b880370ddc56bb7b8a77cbaa66b5b4b03 /jenkins-run |
initial commit
Diffstat (limited to 'jenkins-run')
-rwxr-xr-x | jenkins-run | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/jenkins-run b/jenkins-run new file mode 100755 index 0000000..6baa0cd --- /dev/null +++ b/jenkins-run @@ -0,0 +1,19 @@ +#!/bin/sh + +# jenkins-run + +rm -rf build + +. ./gcov-ci/configs/${hwpack}.template + +export parent_workspace="/mnt/ci_build/workspace/linux-gcov" +export reference_git="${parent_workspace}/reference-git" + +test -d ${reference_git} || time git clone --mirror git://git.linaro.org/kernel/linux-linaro-tracking.git ${reference_git} +(cd ${reference_git} && time git fetch) +time git clone --reference ${reference_git} ${git_url} --branch ${git_branch} build + +cp -a gcov-ci build/ +cp gcov-ci/BUILD-INFO.txt . +cd build +bash -x ./gcov-ci/gcov-${hwpack} |