ium_444018/Docker/Jenkinsfile

20 lines
493 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 10:41:44 +02:00
app = docker.build("ium_docker", "./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:53:53 +02:00
sh 'cd ..'
sh 'ls -la'
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
}