jenkins: use master branch for fdroid repo
This commit is contained in:
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@@ -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
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user