[Qa-jenkins-scm] [jenkins.debian.net] 01/03: Revert "reproducible fdroid: this script is now run directly in $WORKSPACE"

Holger Levsen holger at moszumanska.debian.org
Thu Feb 11 13:39:51 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 bb56208f749e54ca875079882132b0644e7386ad
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Feb 11 14:35:10 2016 +0100

    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(+)

diff --git a/bin/reproducible_setup_fdroid_build_environment.sh b/bin/reproducible_setup_fdroid_build_environment.sh
index fd54d5f..e185827 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 at 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

-- 
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