sadge
Some checks failed
s434695-training/pipeline/head There was a failure building this commit

This commit is contained in:
s434695 2021-05-16 18:41:24 +02:00
parent 9a0711c0d3
commit c6146b9dfc
2 changed files with 17 additions and 16 deletions

View File

@ -30,6 +30,3 @@ COPY ./skrypt.sh ./
COPY ./zadanie2.py ./ COPY ./zadanie2.py ./
COPY ./zadanie5.py ./ COPY ./zadanie5.py ./
RUN ./train.py
RUN ./sacred1.py
RUN ./sacred2.py

30
Jenkinsfile vendored
View File

@ -22,26 +22,30 @@ pipeline {
) )
} }
stages { stages {
stage('checkout') { stage('copy artifacts')
steps { {
copyArtifacts fingerprintArtifacts: true, projectName: 's434695-create-dataset', selector: buildParameter('WHICH_BUILD') steps
{
copyArtifacts(fingerprintArtifacts: true, projectName: 's434788-create-dataset', selector: buildParameter('WHICH_BUILD'))
}
} }
} stage('train')
stage('train') {
{ steps
steps
{ {
catchError { catchError {
sh 'python3 train.py ${BATCH_SIZE} ${EPOCHS}' sh 'python3.8 Zadanie_06_and_07_training.py ${BATCH_SIZE} ${EPOCHS}'
} }
} }
} }
stage('archiveArtifacts') {
stage('Archive artifacts') {
steps{ steps{
archiveArtifacts 'vgsales_model.h5' archiveArtifacts 'wine_model.h5'
archiveArtifacts 'my_runs/**'
} }
} }
} }
post { post {
success { success {
build job: 's434695-evaluation/master' build job: 's434695-evaluation/master'
@ -53,4 +57,4 @@ pipeline {
} }
} }
} }