From bbd5abe3a0c5c218019b51f17853c625df9d78ce Mon Sep 17 00:00:00 2001 From: Mateusz Kuc Date: Fri, 30 Jun 2023 19:58:38 +0200 Subject: [PATCH] Zaktualizuj 'JenkinsfileDatasetStats' --- JenkinsfileDatasetStats | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/JenkinsfileDatasetStats b/JenkinsfileDatasetStats index 5f4589d..6f9c4ba 100644 --- a/JenkinsfileDatasetStats +++ b/JenkinsfileDatasetStats @@ -1,6 +1,10 @@ pipeline{ - agent any - + agent{ + dockerfile { + filename: 'lab4.dockerfile', + reuseNode: true, + } + } parameters{ buildSelector( defaultSelector: lastSuccessful(), @@ -18,12 +22,6 @@ pipeline{ } } stage('Prepare image and stats') { - agent{ - dockerfile{ - filename: 'Lab4.dockerfile', - reuseNode: true, - } - } steps { script { copyArtifacts filter: 'wines_test.csv,wines_dev.csv,wines_train.csv', fingerprintArtifacts: true, projectName: 'z-s458023-create-dataset', selector: workspace()