From 3c4344414da89336780a36aede93e185a9a3aa1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Ga=C5=82ka?= Date: Wed, 19 Apr 2023 10:38:44 +0200 Subject: [PATCH] Update 'Jenkinsfile_create_dataset' --- Jenkinsfile_create_dataset | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/Jenkinsfile_create_dataset b/Jenkinsfile_create_dataset index eaec287..f190c4a 100644 --- a/Jenkinsfile_create_dataset +++ b/Jenkinsfile_create_dataset @@ -1,5 +1,7 @@ pipeline { - agent any + agent dockerfile { + filename 'create.dockerfile' + } //Definijuemy parametry, które będzie można podać podczas wywoływania zadania parameters{ @@ -48,28 +50,13 @@ pipeline { } } } - stage('Docker') { - agent { - dockerfile { - filename 'create.dockerfile' - args '-v $HOME:/script' - } - } - steps { - echo 'building docker' - archiveArtifacts 'file.txt' - } - } - - - stage('Goodbye!') { steps { echo 'Goodbye!' //Zarchiwizuj wynik //archiveArtifacts 'output.txt' archiveArtifacts 'dataset.csv' - + archiveArtifacts 'file.txt' } }