Update files

This commit is contained in:
Agata 2022-04-29 19:53:30 +02:00
parent 18c7dedfab
commit 7e092b3a64
3 changed files with 2 additions and 1 deletions

View File

@ -9,4 +9,4 @@ RUN pip3 install numpy
WORKDIR /app WORKDIR /app
#COPY ./training.py ./ COPY ./training.py ./

View File

@ -23,6 +23,7 @@ pipeline {
stage('Script') { stage('Script') {
steps { steps {
copyArtifacts filter: '*', projectName:'s444421-create-dataset', selector: buildParameter('BUILD_SELECTOR') copyArtifacts filter: '*', projectName:'s444421-create-dataset', selector: buildParameter('BUILD_SELECTOR')
sh 'chmod u+x ./training.py'
sh 'ipython ./training.py $EPOCHS' sh 'ipython ./training.py $EPOCHS'
archiveArtifacts artifacts: 'model.pth' archiveArtifacts artifacts: 'model.pth'
} }

0
training.py Normal file → Executable file
View File