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