fix
Some checks failed
s444018-training/pipeline/head This commit looks good
s444018-evaluation/pipeline/head There was a failure building this commit

This commit is contained in:
Szymon Parafiński 2022-05-09 01:24:28 +02:00
parent f20be256fe
commit 4c816f3506
2 changed files with 15 additions and 2 deletions

View File

@ -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

View File

@ -22,7 +22,19 @@ pipeline {
archiveArtifacts artifacts: 'mae.txt, rmse.txt, mse.txt, evr.txt, metrics.png', followSymlinks: false
script {
ACC = sh (
script: 'tail -1 metrics.txt',
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()
}