This commit is contained in:
piotrwrzodak 2023-05-11 22:46:04 +02:00
parent f80e875766
commit e5d7d97e3a

View File

@ -1,7 +1,5 @@
pipeline { pipeline {
agent { agent any
dockerfile true
}
parameters{ parameters{
string( string(
defaultValue: 'piotrwrzodak', defaultValue: 'piotrwrzodak',
@ -38,10 +36,21 @@ pipeline {
sh 'kaggle datasets download -d thedevastator/airbnb-prices-in-european-cities' sh 'kaggle datasets download -d thedevastator/airbnb-prices-in-european-cities'
sh 'unzip airbnb-prices-in-european-cities.zip -d data' sh 'unzip airbnb-prices-in-european-cities.zip -d data'
sh 'ls' sh 'ls'
}
}
}
stage('Docker') {
agent {
dockerfile true
}
steps {
sh 'python create-dataset.py' sh 'python create-dataset.py'
}
}
stage('Archive') {
steps {
archiveArtifacts artifacts: 'data/barcelona_weekends.train.csv, data/barcelona_weekends.dev.csv, data/barcelona_weekends.test.csv', fingerprint: true archiveArtifacts artifacts: 'data/barcelona_weekends.train.csv, data/barcelona_weekends.dev.csv, data/barcelona_weekends.test.csv', fingerprint: true
} }
} }
} }
} }
}