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