try with checkout
This commit is contained in:
parent
f537895e94
commit
6824548098
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -20,20 +20,20 @@ pipeline {
|
||||
)
|
||||
}
|
||||
stages {
|
||||
stage('Clear') {
|
||||
stage('checkout: Check out from version control') {
|
||||
steps {
|
||||
sh 'rm -rf *'
|
||||
checkout scm
|
||||
}
|
||||
}
|
||||
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 '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 'ls -a'
|
||||
sh 'ls -a ./ium_z444510'
|
||||
// sh 'ls -a ./ium_z444510'
|
||||
sh 'chmod +x create-dataset.sh'
|
||||
sh './create-dataset.sh'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user