summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-02-11 14:35:10 +0100
committerHolger Levsen <holger@layer-acht.org>2016-02-11 14:35:10 +0100
commitbb56208f749e54ca875079882132b0644e7386ad (patch)
treedfc26252de51bae24eb21cf74e14600e8745ea0a
parent25a4f994e3ef98c90c7af6d99866a07f68192a6c (diff)
downloadjenkins.debian.net-bb56208f749e54ca875079882132b0644e7386ad.tar.xz
Revert "reproducible fdroid: this script is now run directly in $WORKSPACE"
This reverts commit 1596171d45ccc7196b8b9a62bf44e5c72483dc02.
-rwxr-xr-xbin/reproducible_setup_fdroid_build_environment.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/reproducible_setup_fdroid_build_environment.sh b/bin/reproducible_setup_fdroid_build_environment.sh
index fd54d5fd..e1858271 100755
--- a/bin/reproducible_setup_fdroid_build_environment.sh
+++ b/bin/reproducible_setup_fdroid_build_environment.sh
@@ -3,6 +3,9 @@
# Copyright 2015-2016 Holger Levsen <holger@layer-acht.org>
# released under the GPLv=2
+#
+#
+
DEBUG=true
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
@@ -10,6 +13,17 @@ common_init "$@"
# common code
. /srv/jenkins/bin/reproducible_common.sh
+# define and clean work space (differently than jenkins would normally do as we run via ssh on a different node…)
+WORKSPACE=$BASE/fdroid
+
+# TODO:
+#
+# add locking here to only run this if no build job is running…
+
+# fdroidserver.git/jenkins-build-makebuildserver assumes $WORKSPACE is
+# the root of fdroidserver.git/
+cd $WORKSPACE
+
# this script is maintained upstream and is also run on Guardian
# Project's jenkins box
./jenkins-build-makebuildserver