test
This commit is contained in:
parent
e39b0ab24d
commit
5cada02e7f
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -33,10 +33,13 @@ pipeline {
|
|||||||
/* This builds the actual image; synonymous to
|
/* This builds the actual image; synonymous to
|
||||||
* docker build on the command line */
|
* docker build on the command line */
|
||||||
steps{
|
steps{
|
||||||
|
script{
|
||||||
app = docker.build("brokenfire/brokendiscordbot",'--build-arg BUILD_NBR=${BUILD_NUMBER} --build-arg BRANCH_NAME=${BRANCH_NAME} --rm=true .')
|
app = docker.build("brokenfire/brokendiscordbot",'--build-arg BUILD_NBR=${BUILD_NUMBER} --build-arg BRANCH_NAME=${BRANCH_NAME} --rm=true .')
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
stage('Push Docker image') {
|
stage('Push Docker image') {
|
||||||
/* Finally, we'll push the image with two tags:
|
/* Finally, we'll push the image with two tags:
|
||||||
* First, the incremental build number from Jenkins
|
* First, the incremental build number from Jenkins
|
||||||
|
Loading…
Reference in New Issue
Block a user