modified: Jenkinsfile
This commit is contained in:
parent
f14e2468fe
commit
5b3ebf1f3a
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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@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"
|
sh "git rev-parse HEAD > .git/commit-id"
|
||||||
def commit_id = readFile('.git/commit-id').trim()
|
def commit_id = readFile('.git/commit-id').trim()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user