Change to arg
This commit is contained in:
parent
e3b5a23bd9
commit
3e52ff87a9
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -25,7 +25,7 @@ node {
|
||||
/* This builds the actual image; synonymous to
|
||||
* docker build on the command line */
|
||||
|
||||
app = docker.build("brokenfire/brokendiscordbot","--rm=true . -e \"BUILD_NBR=${BUILD_NUMBER} BRANCH_NAME=${BRANCH_NAME}\"")
|
||||
app = docker.build("brokenfire/brokendiscordbot","--rm=true . --build-arg \"BUILD_NBR=${BUILD_NUMBER} BRANCH_NAME=${BRANCH_NAME}\"")
|
||||
}
|
||||
stage('Push image') {
|
||||
/* Finally, we'll push the image with two tags:
|
||||
|
Loading…
Reference in New Issue
Block a user