This commit is contained in:
parent
9a0711c0d3
commit
c6146b9dfc
@ -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
30
Jenkinsfile
vendored
@ -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 {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user