OP#213 check branches
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -89,7 +89,8 @@ stage('build and push image to gitlab') {
|
|||||||
sh '''
|
sh '''
|
||||||
git checkout master
|
git checkout master
|
||||||
git pull origin master
|
git pull origin master
|
||||||
git branch -D development
|
git branch
|
||||||
|
#git branch -D development
|
||||||
git branch -D jenkins-build-$BUILD_NUMBER
|
git branch -D jenkins-build-$BUILD_NUMBER
|
||||||
git remote add master https://gitea.confdroid.com/confdroid/confdroid_pgbouncer.git
|
git remote add master https://gitea.confdroid.com/confdroid/confdroid_pgbouncer.git
|
||||||
git -c credential.helper="!f() { echo username=${GITEA_USER}; echo password=${GITEA_TOKEN}; }; f" \
|
git -c credential.helper="!f() { echo username=${GITEA_USER}; echo password=${GITEA_TOKEN}; }; f" \
|
||||||
|
|||||||
Reference in New Issue
Block a user