modified: Jenkinsfile

This commit is contained in:
Jonathan Ervine 2020-06-05 15:09:58 +08:00
parent f14e2468fe
commit 5b3ebf1f3a

2
Jenkinsfile vendored
View File

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