ium_444018/Docker/Jenkinsfile

21 lines
505 B
Groovy

node {
def app
stage('Clone repository') {
checkout scm
}
stage('Build image') {
app = docker.build("sparafinski/ium", "./Docker/")
}
stage('Split set into dev/train/test') {
app.inside {
sh 'pwd'
sh 'cd ./dataset'
sh 'python3 ./script.py'
}
}
}