From 622f62e2e4e18d69d6ac599d85ced912646ee950 Mon Sep 17 00:00:00 2001 From: MatOgr Date: Mon, 4 Apr 2022 00:04:39 +0200 Subject: [PATCH] Copying artifacts --- jenkins/Jenkinstats_docker | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jenkins/Jenkinstats_docker b/jenkins/Jenkinstats_docker index d724cef..dd86d00 100644 --- a/jenkins/Jenkinstats_docker +++ b/jenkins/Jenkinstats_docker @@ -1,8 +1,11 @@ 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 'ls -al' - sh 'chmod +x stats_giver:/app/data_stats.sh && stats_giver:/app/data_stats.sh' + sh './data_stats.sh' } } }