node { def app stage('Clone repository') { checkout scm } stage('Build image') { app = docker.build("sparafinski/ium", "./Docker/") } stage('Split set into dev/train/test') { app.inside { sh 'echo "Raz dwa trzy"' sh 'mkdir Test' sh 'pwd' sh 'ls -la' } } }