add step to push master to gitea
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -111,7 +111,7 @@ pipeline {
|
|||||||
git pull origin master
|
git pull origin master
|
||||||
git remote add master https://gitea.confdroid.com/confdroid/puppet_cd.git
|
git remote add master https://gitea.confdroid.com/confdroid/puppet_cd.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" \
|
||||||
push origin HEAD:master
|
push master --mirror
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user