node { docker.image('s478841-image:latest').inside('--name stats_giver') { stage('Copying artifacts') { copyArtifacts fingerprintArtifacts: true, projectName: 's478841-create-dataset', selectro: lastSuccessful() } stage('Data stats in container') { sh './data_stats.sh' } } }