From bb56208f749e54ca875079882132b0644e7386ad Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 11 Feb 2016 14:35:10 +0100 Subject: Revert "reproducible fdroid: this script is now run directly in $WORKSPACE" This reverts commit 1596171d45ccc7196b8b9a62bf44e5c72483dc02. --- bin/reproducible_setup_fdroid_build_environment.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'bin/reproducible_setup_fdroid_build_environment.sh') 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 # 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 -- cgit v1.2.3-70-g09d2