add clear stage in Jenkinsflie
This commit is contained in:
parent
7897df0da6
commit
4cf096c14a
35
Jenkinsfile
vendored
35
Jenkinsfile
vendored
@ -20,21 +20,26 @@ pipeline {
|
||||
)
|
||||
}
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'git clone https://git.wmi.amu.edu.pl/s444510/ium_z444510.git'
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||
sh 'kaggle datasets download -d thedevastator/airbnb-prices-in-european-cities'
|
||||
sh 'unzip airbnb-prices-in-european-cities.zip -d ./ium_z444510'
|
||||
sh 'rm airbnb-prices-in-european-cities.zip'
|
||||
sh 'python ium_z444510/create-dataset.py'
|
||||
sh 'ls -a'
|
||||
sh 'ls -a ./ium_z444510'
|
||||
stage('Clear') {
|
||||
steps {
|
||||
sh 'rm -rf *'
|
||||
}
|
||||
archiveArtifacts 'train.csv'
|
||||
archiveArtifacts 'dev.csv'
|
||||
archiveArtifacts 'test.csv'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'git clone https://git.wmi.amu.edu.pl/s444510/ium_z444510.git'
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||
sh 'kaggle datasets download -d thedevastator/airbnb-prices-in-european-cities'
|
||||
sh 'unzip airbnb-prices-in-european-cities.zip -d ./ium_z444510'
|
||||
sh 'rm airbnb-prices-in-european-cities.zip'
|
||||
sh 'python ium_z444510/create-dataset.py'
|
||||
sh 'ls -a'
|
||||
sh 'ls -a ./ium_z444510'
|
||||
}
|
||||
archiveArtifacts 'train.csv'
|
||||
archiveArtifacts 'dev.csv'
|
||||
archiveArtifacts 'test.csv'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user