This commit is contained in:
Sebastien 2018-03-07 16:08:36 +01:00
parent e39b0ab24d
commit 5cada02e7f

3
Jenkinsfile vendored
View File

@ -33,10 +33,13 @@ pipeline {
/* This builds the actual image; synonymous to
* docker build on the command line */
steps{
script{
app = docker.build("brokenfire/brokendiscordbot",'--build-arg BUILD_NBR=${BUILD_NUMBER} --build-arg BRANCH_NAME=${BRANCH_NAME} --rm=true .')
}
}
}
stage('Push Docker image') {
/* Finally, we'll push the image with two tags:
* First, the incremental build number from Jenkins