jenkins: use master branch for fdroid repo

This commit is contained in:
2025-10-09 09:25:42 +02:00
parent 37eb086aa1
commit dbbe5410f5

7
Jenkinsfile vendored
View File

@@ -27,7 +27,7 @@ pipeline {
stage('Checkout F-Droid Repo') { stage('Checkout F-Droid Repo') {
steps { steps {
dir("fdroid-repo") { dir("fdroid-repo") {
git branch: 'binaries', url: "https://gitlab.julian-mutter.de/julian/fdroid-frajul.git", credentialsId: "3563e7c8-6a79-407c-9681-5d6e6291ba34" git branch: 'master', url: "https://gitlab.julian-mutter.de/julian/fdroid-frajul.git", credentialsId: "3563e7c8-6a79-407c-9681-5d6e6291ba34"
} }
} }
} }
@@ -59,11 +59,6 @@ pipeline {
dir("fdroid-repo") { dir("fdroid-repo") {
withCredentials([gitUsernamePassword(credentialsId: '3563e7c8-6a79-407c-9681-5d6e6291ba34')]) { withCredentials([gitUsernamePassword(credentialsId: '3563e7c8-6a79-407c-9681-5d6e6291ba34')]) {
sh ''' sh '''
git fetch origin master
git switch master
git add .
git commit -m "Update repo from CI"
git push origin master
./push-apks.sh ./push-apks.sh
''' '''
} }