update jenkinsfile_train and dockerfile
Some checks failed
s444356-training/pipeline/head There was a failure building this commit

This commit is contained in:
Maciej Czajka 2022-05-02 15:11:43 +02:00
parent 86021c3f44
commit 7fb85b4279
2 changed files with 3 additions and 4 deletions

View File

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

View File

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