build with docker libs
This commit is contained in:
parent
b16e84a559
commit
e47b588af0
|
@ -16,7 +16,7 @@ pipeline {
|
|||
|
||||
stage('Build telegraf') {
|
||||
steps {
|
||||
script{
|
||||
node {
|
||||
docker.withRegistry('http://docker-registry1.in.thelinuxpro.net:5000')
|
||||
def dockerfile = 'Dockerfile'
|
||||
def telegrafImage = docker.build("telegraf:${env.BUILD_ID}", "-f ${dockerfile}")
|
||||
|
|
Loading…
Reference in New Issue