21 lines
526 B
Groovy
21 lines
526 B
Groovy
node {
|
|
def app
|
|
stage('Clone repository') {
|
|
cleanWs()
|
|
checkout scm
|
|
}
|
|
|
|
stage('Build image') {
|
|
|
|
app = docker.build("sparafinski/ium", "./Docker/")
|
|
}
|
|
|
|
stage('Split set into dev/train/test') {
|
|
app.inside {
|
|
sh 'ls -la'
|
|
sh 'cd ./Docker'
|
|
sh 'ls -la'
|
|
sh 'python3 ./script.py'
|
|
}
|
|
}
|
|
} |