revert Update Jenkinsfile
This commit is contained in:
s452487 2024-05-04 14:02:41 +02:00
parent 8f8c0de5f6
commit 648d22b7ff

7
Jenkinsfile vendored
View File

@ -1,9 +1,11 @@
pipeline { pipeline {
agent { dockerfile true } agent { dockerfile true }
stages { stages {
stage('Model training') { stage('Dataset download and stats') {
steps { steps {
sh './train.sh' sh "export KAGGLE_CONFIG_DIR='${env.WORKSPACE}/kaggle_config/'"
sh "chmod +x -R ${env.WORKSPACE}"
sh './dataset_download_and_run.sh'
} }
} }
@ -13,6 +15,7 @@ pipeline {
archiveArtifacts 'test.csv' archiveArtifacts 'test.csv'
archiveArtifacts 'train.csv' archiveArtifacts 'train.csv'
archiveArtifacts 'valid.csv' archiveArtifacts 'valid.csv'
archiveArtifacts 'extracted_dataset/2022/processed.csv'
} }
} }
} }