test
This commit is contained in:
parent
3d92bf8324
commit
526efba1fa
@ -1,6 +1,6 @@
|
|||||||
FROM debian:latest
|
FROM debian:latest
|
||||||
ARG BUILD_NBR=${BUILD_NUMBER}
|
ARG BUILD_NBR=nop
|
||||||
ARG BRANCH_NAME=${BRANCH_NAME}
|
ARG BRANCH_NAME=nop
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get -y upgrade
|
RUN apt-get -y upgrade
|
||||||
RUN apt-get -y install openjdk-8-jre openjdk-8-jdk curl wget
|
RUN apt-get -y install openjdk-8-jre openjdk-8-jdk curl wget
|
||||||
|
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -25,7 +25,7 @@ node {
|
|||||||
/* 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 */
|
||||||
|
|
||||||
app = docker.build("brokenfire/brokendiscordbot","--rm=true .")
|
app = docker.build("brokenfire/brokendiscordbot","--rm=true . -e "BUILD_NBR=${BUIL_NUMBER} BRANCH_NAME=${BRANCH_NAME}")
|
||||||
}
|
}
|
||||||
stage('Push image') {
|
stage('Push image') {
|
||||||
/* Finally, we'll push the image with two tags:
|
/* Finally, we'll push the image with two tags:
|
||||||
|
Loading…
Reference in New Issue
Block a user