chiark / gitweb /
jenkins-test: don't overwrite `fdroid init` config.py and rm test files
authorHans-Christoph Steiner <hans@eds.org>
Mon, 27 Nov 2017 08:36:01 +0000 (09:36 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Mon, 27 Nov 2017 09:07:17 +0000 (10:07 +0100)
jenkins-test

index ed2ccf16561558be875605a9fc1a1c089d1d799c..69ed58a398b6a42049ec1955e153d76d19a24afd 100755 (executable)
@@ -23,6 +23,7 @@ set -x
 # set up Android SDK to use the Debian packages in stretch
 export ANDROID_HOME=/usr/lib/android-sdk
 
+rm -rf $WORKSPACE/.testfiles
 cd tests
 ./run-tests $WORKSPACE
 
@@ -34,7 +35,7 @@ rm -f config.py
 ../fdroid update
 
 export GNUPGHOME=$WORKSPACE/tests/gnupghome
-echo "build_server_always = True" > config.py
+echo "build_server_always = True" >> config.py
 echo "gpghome = '$GNUPGHOME'" >> config.py
 echo "gpgkey = 'CE71F7FB'" >> config.py
 chmod 0600 config.py