mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
tests: specify dir for APKs as cmd line arg, and set jenkins to ~
This lets people easily set whatever dir they want, while letting jenkins search through its whole workspace for any APKs that have been built. Also, only include the latest version of a given packageName+versionCode.
This commit is contained in:
parent
78d5ebf26c
commit
9b313e76bb
2 changed files with 20 additions and 7 deletions
|
@ -47,7 +47,7 @@ cd $WORKSPACE/fdroidserver/getsig
|
|||
#------------------------------------------------------------------------------#
|
||||
# run local tests
|
||||
cd $WORKSPACE/tests
|
||||
./run-tests
|
||||
./run-tests ~jenkins/
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------#
|
||||
|
@ -67,7 +67,7 @@ python setup.py install
|
|||
|
||||
# run tests in new pip+virtualenv install
|
||||
. $WORKSPACE/env/bin/activate
|
||||
fdroid=$WORKSPACE/env/bin/fdroid $WORKSPACE/tests/run-tests
|
||||
fdroid=$WORKSPACE/env/bin/fdroid $WORKSPACE/tests/run-tests ~jenkins/
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue