node { checkout scm stage('Configuration') def local_image = docker.build("s452639-image") local_image.inside { stage('Build') { checkout([$class: 'GitSCM', branches: [[name: 'ztm']], extensions: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s452639/ium_452639']]]) sh 'cd src; ./prepare-ztm-data.sh' archiveArtifacts artifacts: 'src/stop_times.normalized.tsv,src/stop_times.train.tsv,src/stop_times.test.tsv,src/stop_times.valid.tsv,src/stop_times.categories.tsv', followSymlinks: false } } stage('Trigger') { build wait: false, job: 's452639-training' } }