mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
jenkins: some reliability fixes to the test scripts
This commit is contained in:
parent
daa9635286
commit
c89649057a
@ -74,7 +74,7 @@ if [ -e fdroiddata ]; then
|
|||||||
git checkout master
|
git checkout master
|
||||||
git reset --hard origin/master
|
git reset --hard origin/master
|
||||||
# keep all the cloned source repos
|
# keep all the cloned source repos
|
||||||
git clean -fdx --exclude build
|
git clean -fdx --exclude build --exclude repo --exclude unsigned
|
||||||
else
|
else
|
||||||
git clone https://gitlab.com/fdroid/fdroiddata.git fdroiddata
|
git clone https://gitlab.com/fdroid/fdroiddata.git fdroiddata
|
||||||
cd fdroiddata
|
cd fdroiddata
|
||||||
|
@ -30,11 +30,13 @@ cd tests
|
|||||||
cd $WORKSPACE/fdroiddata
|
cd $WORKSPACE/fdroiddata
|
||||||
|
|
||||||
test -e config.py || ../fdroid init --verbose
|
test -e config.py || ../fdroid init --verbose
|
||||||
|
test -e keystore.jks || ../fdroid update --create-key
|
||||||
|
|
||||||
export GNUPGHOME=$WORKSPACE/tests/gnupghome
|
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 "gpghome = '$GNUPGHOME'" >> config.py
|
||||||
echo "gpgkey = 'CE71F7FB'" >> config.py
|
echo "gpgkey = 'CE71F7FB'" >> config.py
|
||||||
|
chmod 0600 config.py
|
||||||
|
|
||||||
# publish process when building and signing are on separate machines
|
# publish process when building and signing are on separate machines
|
||||||
test -d repo || mkdir repo
|
test -d repo || mkdir repo
|
||||||
|
Loading…
Reference in New Issue
Block a user