new Jenkinsfile

This commit is contained in:
Szymon Parafiński 2022-03-30 18:41:29 +02:00
parent 871a784e3b
commit f458a0157c

16
Docker/Jenkinsfile vendored
View File

@ -1,17 +1,17 @@
pipeline {
agent {
dockerfile {
filename 'Dockerfile'
dir './Docker'
}
}
agent none
stages {
stage ("run agent") {
steps {
sh 'docker build -f './Docker/Dockerfile' -t 'ium_docker' .'
}
}
stage('Split set into dev/train/test') {
steps {
sh 'ls -la'
sh 'python3 ./Docker/script.py'
sh 'docker run -ti 'ium_docker' python3 ./Docker/script.py'
}
}