diff --git a/Jenkinsfile b/Jenkinsfile index 70a2d05..773f6a4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,8 +1,14 @@ node { - stage('Build') { + checkout scm + + def local_image = docker.build("local-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 './prepare-ztm-data.sh' archiveArtifacts artifacts: 'train.csv,test.csv', followSymlinks: false - } + } + } }