ium_444018/Docker/Jenkinsfile

18 lines
438 B
Plaintext
Raw Normal View History

2022-03-30 09:12:46 +02:00
node {
def app
stage('Clone repository') {
2022-03-30 10:31:08 +02:00
cleanWs()
2022-03-30 09:12:46 +02:00
checkout scm
}
stage('Build image') {
2022-03-30 09:14:10 +02:00
app = docker.build("sparafinski/ium", "./Docker/")
2022-03-30 09:12:46 +02:00
}
2022-03-30 09:38:17 +02:00
stage('Split set into dev/train/test') {
app.inside {
2022-03-30 10:37:13 +02:00
sh 'python3 ./Docker/script.py'
2022-03-30 09:12:46 +02:00
}
}
2022-03-30 09:05:37 +02:00
}