ium_444018/Docker/Jenkinsfile

20 lines
413 B
Plaintext
Raw Normal View History

2022-03-30 12:44:29 +02:00
pipeline {
2022-03-30 18:43:12 +02:00
agent any
2022-03-30 12:44:29 +02:00
stages {
2022-03-30 18:41:29 +02:00
stage ("run agent") {
steps {
2022-03-31 20:48:27 +02:00
sh 'cd Docker'
2022-03-30 18:44:29 +02:00
sh 'docker build -f ./Docker/Dockerfile -t ium_docker .'
2022-03-30 18:41:29 +02:00
}
}
2022-03-30 12:54:02 +02:00
2022-03-30 12:44:29 +02:00
stage('Split set into dev/train/test') {
steps {
2022-03-30 18:44:29 +02:00
sh 'docker run -ti ium_docker python3 ./Docker/script.py'
2022-03-30 12:44:29 +02:00
}
}
}
2022-03-30 09:05:37 +02:00
}