build dockerfile in jenkins

This commit is contained in:
Adam Wojdyla 2022-04-01 21:50:17 +02:00
parent fcfd2bdc24
commit 0f04cd4915

View File

@ -1,13 +1,12 @@
pipeline { pipeline {
agent { agent {
docker { image 'ubuntu:latest' } dockerfile true
} }
stages { stages {
stage('Test') { stage('Test') {
steps { steps {
sh 'cat /etc/issue' sh 'cat /etc/issue'
}
} }
} }
}
} }