diff --git a/Dockerfile b/Dockerfile index 0ada682..faa5ab9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,7 @@ WORKDIR /app COPY lab2/download.sh . COPY biblioteka_DL/dllib.py . +COPY biblioteka_DL/evaluate.py . COPY biblioteka_DL/imdb_top_1000.csv . RUN chmod +x ./download.sh diff --git a/Jenkinsfile_eval b/Jenkinsfile_eval index 87eacbe..5386277 100644 --- a/Jenkinsfile_eval +++ b/Jenkinsfile_eval @@ -22,8 +22,20 @@ pipeline { archiveArtifacts artifacts: 'mae.txt, rmse.txt, mse.txt, evr.txt, metrics.png', followSymlinks: false script { ACC = sh ( - script: 'tail -1 metrics.txt', - returnStdout: true + script: 'tail -1 mae.txt', + returnStdout: true + ).trim() + ACC = sh ( + script: 'tail -1 rmse.txt', + returnStdout: true + ).trim() + ACC = sh ( + script: 'tail -1 mse.txt', + returnStdout: true + ).trim() + ACC = sh ( + script: 'tail -1 evr.txt', + returnStdout: true ).trim() } }