modified: Jenkinsfile

Updated to use newer git server
This commit is contained in:
Jonny Ervine 2020-02-19 03:41:30 +00:00
parent d922781ef4
commit c1b12a19d9

2
Jenkinsfile vendored
View File

@ -1,7 +1,7 @@
node("docker-node") { node("docker-node") {
docker.withRegistry('https://harbor.ervine.dev', 'jenkins-to-harbor') { docker.withRegistry('https://harbor.ervine.dev', 'jenkins-to-harbor') {
git branch: "3.11.3", url: "ssh://git@gogs.ervine.org:2022/jonny/x86_64-alpine-mariadb", credentialsId: 'jenkins-to-gogs' git branch: "3.11.3", url: "ssh://git@git.ervine.org:2222/jonny/x86_64-alpine-mariadb", credentialsId: 'jenkins-to-git'
sh "git rev-parse HEAD > .git/commit-id" sh "git rev-parse HEAD > .git/commit-id"
def commit_id = readFile('.git/commit-id').trim() def commit_id = readFile('.git/commit-id').trim()