jenkins
This commit is contained in:
parent
10f50cb920
commit
0d37ce2ab9
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -2,6 +2,8 @@ library('jenkins_build')
|
||||
|
||||
node {
|
||||
|
||||
docker.withRegistry('https://registry.elbert.us', '6ad2f24c-6da4-4cdb-b526-4773922fb0d5') {
|
||||
|
||||
main {
|
||||
|
||||
def jobnameparts = JOB_NAME.tokenize('/') as String[]
|
||||
@ -24,10 +26,9 @@ node {
|
||||
}
|
||||
|
||||
stage("Deploy") {
|
||||
docker.withRegistry('https://registry.elbert.us', '6ad2f24c-6da4-4cdb-b526-4773922fb0d5') {
|
||||
|
||||
dockerImage.push()
|
||||
dockerImage.push("production")
|
||||
}
|
||||
|
||||
sh "/usr/local/bin/docker-compose --project-name '${projectName}' --file '${sourceFigFile}' pull"
|
||||
|
||||
@ -41,3 +42,4 @@ node {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user