Update files
This commit is contained in:
parent
cd2b66a42b
commit
4bd59f55ac
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -1,6 +1,5 @@
|
||||
pipeline {
|
||||
agent any
|
||||
/*
|
||||
parameters {
|
||||
string(
|
||||
defaultValue: '',
|
||||
@ -14,7 +13,6 @@ pipeline {
|
||||
name: 'KAGGLE_KEY'
|
||||
)
|
||||
}
|
||||
*/
|
||||
stages {
|
||||
stage('Check out from version control') {
|
||||
steps {
|
||||
@ -24,8 +22,10 @@ pipeline {
|
||||
stage('Shell Script') {
|
||||
steps {
|
||||
sh 'chmod u+x ./download_data.sh'
|
||||
sh './download_data.sh'
|
||||
archiveArtifacts 'iris_data.txt'
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}","KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||
sh './download_data.sh'
|
||||
}
|
||||
archiveArtifacts 'travel_insurance_data.txt'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,2 +1,3 @@
|
||||
wget -c https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data
|
||||
head -n 25 iris.data >> iris_data.txt
|
||||
kaggle datasets download -d tejashvi14/travel-insurance-prediction-data
|
||||
unzip -o travel-insurance-prediction-data.zip
|
||||
head -n 15 TravelInsurancePrediction.csv >> travel_insurance_data.txt
|
Loading…
Reference in New Issue
Block a user