Update 'Jenkinsfile-Docker'

This commit is contained in:
Wojciech Mikołajski 2023-04-19 20:12:36 +02:00
parent f647e0ecbf
commit a29429e576

View File

@ -1,12 +1,18 @@
pipeline {
agent {
dockerfile true
agent any
}
stages {
stage('Build Image') {
steps {
sh 'docker build --no-cache -t wujt -Dockerfile'
}
}
stage('Test') {
steps {
sh 'ls -l'
sh 'python3 create_dataset.py'
sh 'docker run wujt python3 create_dataset.py'
}
}
}