From 9828c4c8c53faca301f427abc3e2ce8a02e4afe8 Mon Sep 17 00:00:00 2001 From: MatOgr Date: Mon, 4 Apr 2022 00:11:09 +0200 Subject: [PATCH] copyArtifacts fix --- jenkins/Jenkinstats_docker | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/jenkins/Jenkinstats_docker b/jenkins/Jenkinstats_docker index fdb3159..4bd7589 100644 --- a/jenkins/Jenkinstats_docker +++ b/jenkins/Jenkinstats_docker @@ -1,13 +1,12 @@ node { + stage('Copying artifacts') { + copyArtifacts fingerprintArtifacts: true, projectName: 's478841-create-dataset', selector: lastSuccessful() + } 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' + sh 'ls -al' sh 'pwd' - sh './data_stats.sh' + sh './scripts/data_stats.sh' } } }