refactoring

This commit is contained in:
Mikołaj Pokrywka 2022-04-03 13:49:36 +02:00
parent c6e1c1c095
commit ec8b44cdaf
2 changed files with 1 additions and 2 deletions

View File

@ -20,4 +20,4 @@ ENV CUTOFF=${CUTOFF}
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME} ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
ENV KAGGLE_KEY=${KAGGLE_KEY} ENV KAGGLE_KEY=${KAGGLE_KEY}
# Domyślne polecenie, które zostanie uruchomione w kontenerze po jego starcie # Domyślne polecenie, które zostanie uruchomione w kontenerze po jego starcie
CMD python3 -u ./download_data_and_process.py RUN ./process_data.sh

1
Jenkinsfile vendored
View File

@ -34,7 +34,6 @@ pipeline {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}", "KAGGLE_KEY=${params.KAGGLE_KEY}",
"CUTOFF=${params.CUTOFF}"]) { "CUTOFF=${params.CUTOFF}"]) {
sh "sudo ./process_data.sh"
sh 'python3 ./download_data_and_process.py' sh 'python3 ./download_data_and_process.py'
archiveArtifacts artifacts: "data_test.csv, data_dev.csv, data_train.csv, column_titles.csv" archiveArtifacts artifacts: "data_test.csv, data_dev.csv, data_train.csv, column_titles.csv"
} }