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

This commit is contained in:
s434695 2021-05-16 20:22:27 +02:00
parent 2f78b3d264
commit 93516ec2ef
2 changed files with 10 additions and 18 deletions

View File

@ -20,13 +20,3 @@ RUN pip3 install --user GitPython
RUN pip3 install --user pymongo RUN pip3 install --user pymongo
WORKDIR /app
COPY ./train.py ./
COPY ./evaluate.py ./
COPY ./sacred1.py ./
COPY ./sacred2.py ./
COPY ./skrypt.sh ./
COPY ./zadanie2.py ./
COPY ./zadanie5.py ./

16
Jenkinsfile vendored
View File

@ -1,5 +1,5 @@
pipeline { pipeline {
agent {docker { image 'shroomy/ium2:2'}} agent any;
parameters{ parameters{
buildSelector( buildSelector(
@ -27,12 +27,14 @@ pipeline {
copyArtifacts(fingerprintArtifacts: true, projectName: 's434695-create-dataset', selector: buildParameter('WHICH_BUILD')) copyArtifacts(fingerprintArtifacts: true, projectName: 's434695-create-dataset', selector: buildParameter('WHICH_BUILD'))
} }
} }
stage('train') stage('docker-training') {
{ steps {
steps script {
{ def img = docker.build('shroomy/ium2:2')
catchError { img.inside {
sh 'python3 train.py ${BATCH_SIZE} ${EPOCHS}' sh "python3 train.py ${EPOCHS} ${BATCH_SIZE}"
}
} }
} }
} }