summaryrefslogtreecommitdiff
path: root/jenkins-run
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2014-06-25 14:28:37 +0300
committerRiku Voipio <riku.voipio@linaro.org>2014-06-25 14:28:37 +0300
commitfb80a1410421dd88e6fdf76583f33def18eb0ec9 (patch)
treef4ee11cc95a4699d1c3577ecfed546b26ecbb82f /jenkins-run
parentcf945f99753b6bbf3f60b3755b67dc70edf6f4ff (diff)
total rewrite
Diffstat (limited to 'jenkins-run')
-rwxr-xr-xjenkins-run16
1 files changed, 16 insertions, 0 deletions
diff --git a/jenkins-run b/jenkins-run
new file mode 100755
index 0000000..c29f6d9
--- /dev/null
+++ b/jenkins-run
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# jenkins-run
+
+. ./kvm-ci/configs/${hwpack}.template
+
+export parent_workspace="/mnt/ci_build/workspace/linux-kvm"
+export reference_git="${parent_workspace}/reference-git"
+
+test -d ${reference_git} || time git clone --mirror http://git.linaro.org/git/people/christoffer.dall/linux-kvm-arm.git ${reference_git}
+(cd ${reference_git} && time git fetch)
+time git clone --reference ${reference_git} ${git_url} --branch ${git_branch} build
+
+cp -a kvm-ci build/
+cd build
+bash -x ./kcm-ci/kvm-${hwpack}-host