From 72f6536eed08bba5de3dd3a580f04a779a0a177b Mon Sep 17 00:00:00 2001 From: piotrwrzodak Date: Thu, 11 May 2023 23:09:08 +0200 Subject: [PATCH] 4.3.1 v12 --- Jenkinsfile-create-dataset-docker | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/Jenkinsfile-create-dataset-docker b/Jenkinsfile-create-dataset-docker index 871c33b..4d4d0f9 100644 --- a/Jenkinsfile-create-dataset-docker +++ b/Jenkinsfile-create-dataset-docker @@ -1,5 +1,7 @@ pipeline { - agent any + agent { + dockerfile true + } parameters{ string( defaultValue: 'piotrwrzodak', @@ -36,17 +38,10 @@ pipeline { sh 'kaggle datasets download -d thedevastator/airbnb-prices-in-european-cities' sh 'unzip airbnb-prices-in-european-cities.zip' sh 'ls' + sh 'python3 create-dataset.py' + archiveArtifacts artifacts: 'data/barcelona_weekends.train.csv, data/barcelona_weekends.dev.csv, data/barcelona_weekends.test.csv', fingerprint: true } } } - stage('Docker') { - agent { - dockerfile true - } - steps { - sh 'python3 create-dataset.py' - archiveArtifacts artifacts: 'data/barcelona_weekends.train.csv, data/barcelona_weekends.dev.csv, data/barcelona_weekends.test.csv', fingerprint: true - } - } } } \ No newline at end of file