[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible fdroid: define workspace properly
Holger Levsen
holger at moszumanska.debian.org
Mon Jan 25 19:23:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 03845bb266bb5ed171dfe1cfe77f364b226f6576
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Jan 25 20:22:48 2016 +0100
reproducible fdroid: define workspace properly
---
bin/reproducible_setup_fdroid_build_environment.sh | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_setup_fdroid_build_environment.sh b/bin/reproducible_setup_fdroid_build_environment.sh
index 5904145..c9b7d18 100644
--- a/bin/reproducible_setup_fdroid_build_environment.sh
+++ b/bin/reproducible_setup_fdroid_build_environment.sh
@@ -13,6 +13,11 @@ common_init "$@"
# common code
. /srv/jenkins/bin/reproducible_common.sh
+# define work space (differently than jenkins would normally do as we run via ssh on a different node…)
+$WORKSPACE=$BASE/fdroid
+mkdir -p $WORKSPACE
+cd $WORKSPACE
+
# make sure we have the vagrant box image cached
test -e ~/.cache/fdroidserver || mkdir -p ~/.cache/fdroidserver
cd ~/.cache/fdroidserver
@@ -24,8 +29,7 @@ sha256sum -c jessie32.box.sha256
export VAGRANT_HOME=$WORKSPACE/vagrant.d
rm -rf $VAGRANT_HOME
-# do I really want to run this?
-cd $WORKSPACE
+# FIXME: the git cloning should be part of the jenkins job…
git clone https://gitlab.com/fdroid/fdroidserver.git
cd fdroidserver
./makebuildserver
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list