jenkins: specifically fetch master
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -59,7 +59,7 @@ 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
|
git fetch origin master
|
||||||
git checkout master
|
git checkout master
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Update repo from CI"
|
git commit -m "Update repo from CI"
|
||||||
|
|||||||
Reference in New Issue
Block a user