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 ./zadanie5.py ./
RUN ./train.py
RUN ./sacred1.py
RUN ./sacred2.py

30
Jenkinsfile vendored
View File

@ -22,26 +22,30 @@ pipeline {
)
}
stages {
stage('checkout') {
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's434695-create-dataset', selector: buildParameter('WHICH_BUILD')
stage('copy artifacts')
{
steps
{
copyArtifacts(fingerprintArtifacts: true, projectName: 's434788-create-dataset', selector: buildParameter('WHICH_BUILD'))
}
}
}
stage('train')
{
steps
stage('train')
{
steps
{
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{
archiveArtifacts 'vgsales_model.h5'
archiveArtifacts 'wine_model.h5'
archiveArtifacts 'my_runs/**'
}
}
}
}
post {
success {
build job: 's434695-evaluation/master'
@ -53,4 +57,4 @@ pipeline {
}
}
}
}