Use master branch to build image

This commit is contained in:
Jonathan Ervine 2020-07-15 11:44:55 +08:00
parent dc1238b563
commit 74f147fb51

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/jonny/x86_64-alpine-wetty", credentialsId: 'jenkins-to-git'
git branch: "master", url: "ssh://git@git.ervine.org/jonny/x86_64-alpine-wetty", credentialsId: 'jenkins-to-git'
sh "git rev-parse HEAD > .git/commit-id"
def commit_id = readFile('.git/commit-id').trim()