Edit Jenkinsfile to save result of bash scrit as an artifact
This commit is contained in:
parent
7102ae9b09
commit
f08e18d884
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -24,6 +24,11 @@ pipeline {
|
|||||||
sh './datasetScript.sh'
|
sh './datasetScript.sh'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
stage('Archive file') {
|
||||||
|
steps {
|
||||||
|
archiveArtifacts artifacts: 'dataset.csv', fingerprint: true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,3 +4,4 @@ kaggle datasets download -d rishikeshkonapure/home-loan-approval
|
|||||||
unzip -o home-loan-approval.zip
|
unzip -o home-loan-approval.zip
|
||||||
cat loan_sanction_test.csv loan_sanction_train.csv > loan_sanction.csv
|
cat loan_sanction_test.csv loan_sanction_train.csv > loan_sanction.csv
|
||||||
head -n 5 loan_sanction.csv
|
head -n 5 loan_sanction.csv
|
||||||
|
{head -n 1 loan_sanction.csv && tail -n +2 loan_sanction.csv | shuf;} > loan_sanction_shuffled.csv
|
Loading…
Reference in New Issue
Block a user