This commit is contained in:
Dan Elbert 2018-07-22 16:42:43 -05:00
parent 10f50cb920
commit 0d37ce2ab9

6
Jenkinsfile vendored
View File

@ -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 {
}
}
}
}