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