modified: Jenkinsfile
This commit is contained in:
parent
e45c40c050
commit
2d49f43a1d
4
Jenkinsfile
vendored
4
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-db-sidecar", credentialsId: 'jenkins-to-git'
|
git branch: "3.11.6", url: "ssh://git@git.ervine.org/jonny/x86_64-alpine-db-sidecar", 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()
|
||||||
@ -13,7 +13,7 @@ node("docker-node") {
|
|||||||
|
|
||||||
stage "publish"
|
stage "publish"
|
||||||
app.push("${env.BUILD_NUMBER}")
|
app.push("${env.BUILD_NUMBER}")
|
||||||
app.push("3.11.3")
|
app.push("3.11.6")
|
||||||
app.push("latest")
|
app.push("latest")
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user