mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
jenkins: update fdroiddata if existing
Also, when cloning, no need to specify the branch and only download that one. We already have only a single branch. And forcing master isn't necessary.
This commit is contained in:
parent
261cbcd3ee
commit
896d7240aa
1 changed files with 7 additions and 3 deletions
|
|
@ -49,10 +49,14 @@ echo "apt_package_cache = True" >> $WORKSPACE/makebuildserver.config.py
|
||||||
./makebuildserver
|
./makebuildserver
|
||||||
|
|
||||||
# this can be handled in the jenkins job, or here:
|
# this can be handled in the jenkins job, or here:
|
||||||
if [ ! -e fdroiddata ]; then
|
if [ -e fdroiddata ]; then
|
||||||
git clone --depth 1 --branch master --single-branch \
|
cd fdroiddata
|
||||||
https://gitlab.com/fdroid/fdroiddata.git fdroiddata
|
git pull
|
||||||
|
cd ..
|
||||||
|
else
|
||||||
|
git clone --depth 1 https://gitlab.com/fdroid/fdroiddata.git fdroiddata
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd fdroiddata
|
cd fdroiddata
|
||||||
echo "build_server_always = True" > config.py
|
echo "build_server_always = True" > config.py
|
||||||
../fdroid build info.guardianproject.checkey
|
../fdroid build info.guardianproject.checkey
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue