ium_444018/Docker/Jenkinsfile

18 lines
433 B
Groovy

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