From 7fb85b42793be0bcef0a3532228d3fcd0394d9fe Mon Sep 17 00:00:00 2001 From: Maciej Czajka Date: Mon, 2 May 2022 15:11:43 +0200 Subject: [PATCH] update jenkinsfile_train and dockerfile --- Dockerfile | 4 ++-- Jenkinsfile_train | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 22f2ff5..a6030e7 100755 --- a/Dockerfile +++ b/Dockerfile @@ -28,8 +28,8 @@ WORKDIR /app COPY download.sh . COPY Zajecia_2/main.py . -COPY Biblioteka_DL/dllib.py . -COPY Biblioteka_DL/all_games.csv . +COPY dllib.py . +COPY all_games.csv . RUN ./download.sh $CUTOFF #CMD ["python3", "./dllib.py"] diff --git a/Jenkinsfile_train b/Jenkinsfile_train index 3e985cf..4f85672 100644 --- a/Jenkinsfile_train +++ b/Jenkinsfile_train @@ -16,8 +16,7 @@ pipeline { stage('Script'){ steps { copyArtifacts filter: '*', projectName: 's444356-create-dataset' - sh 'python3 ./Biblioteka_DL/dllib.py $EPOCHS' - sh 'cd Biblioteka_DL' + sh 'python3 ./dllib.py $EPOCHS' sh 'ls -al' archiveArtifacts artifacts: 'Biblioteka_DL/games_model.pkl', followSymlinks: false }