jenkins: use git credentials
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -57,6 +57,7 @@ pipeline {
|
|||||||
stage('Push updates') {
|
stage('Push updates') {
|
||||||
steps {
|
steps {
|
||||||
dir("fdroid-repo") {
|
dir("fdroid-repo") {
|
||||||
|
withCredentials([gitUsernamePassword(credentialsId: '3563e7c8-6a79-407c-9681-5d6e6291ba34')]) {
|
||||||
sh '''
|
sh '''
|
||||||
git fetch origin
|
git fetch origin
|
||||||
git cehckout master
|
git cehckout master
|
||||||
@@ -72,6 +73,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
stage('Web') {
|
stage('Web') {
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
|
|||||||
Reference in New Issue
Block a user