ium_444018/Docker/Jenkinsfile

21 lines
524 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:16:28 +02:00
sh 'ls -la'
2022-03-30 10:29:21 +02:00
sh 'cd Docker'
2022-03-30 10:32:59 +02:00
sh 'ls -la'
2022-03-30 10:29:21 +02:00
sh 'python3 ./script.py'
2022-03-30 09:12:46 +02:00
}
}
2022-03-30 09:05:37 +02:00
}