jenkins: add git fetch
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -58,7 +58,8 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
dir("fdroid-repo") {
|
dir("fdroid-repo") {
|
||||||
sh '''
|
sh '''
|
||||||
git switch master
|
git fetch origin
|
||||||
|
git cehckout master
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Update repo from CI"
|
git commit -m "Update repo from CI"
|
||||||
git push origin master
|
git push origin master
|
||||||
|
|||||||
Reference in New Issue
Block a user