ium_444018/Docker/Jenkinsfile

28 lines
665 B
Groovy

pipeline {
agent {
dockerfile {
filename 'Dockerfile'
dir 'Docker'
label 'ium_docker'
}
}
stages {
stage('Check out from version control') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's444018', url: 'https://git.wmi.amu.edu.pl/s444018/ium_444018.git']]])
}
}
stage('Split set into dev/train/test') {
steps {
app.inside {
sh 'ls -la'
sh 'python3 ./Docker/script.py'
}
}
}
}
}