mlflow fix
Some checks failed
s444452-training/pipeline/head There was a failure building this commit

This commit is contained in:
AdamOsiowy123 2022-05-15 22:42:16 +02:00
parent 18e26fed6b
commit f790b4d925
3 changed files with 5 additions and 2 deletions

View File

@ -8,4 +8,5 @@ WORKDIR /code
COPY . /code/
RUN python3 -m pip install -r requirements.txt
RUN mkdir /.kaggle && chmod o+w /.kaggle
RUN mkdir /.kaggle && chmod o+w /.kaggle
RUN mkdir /mlruns && chmod o+w /mlruns

View File

@ -1,7 +1,7 @@
node {
checkout scm
try {
docker.image('s444452/ium:1.4').inside {
docker.image('s444452/ium:1.4').inside('-v /mlruns:/mlruns') {
stage('Preparation') {
properties([
pipelineTriggers([upstream(threshold: hudson.model.Result.SUCCESS, upstreamProjects: "s444452-create-dataset")]),
@ -47,6 +47,7 @@ node {
stage('Archive artifacts') {
archiveArtifacts "model/neural_net"
archiveArtifacts "my_runs/**"
archiveArtifacts "mlruns/**"
}
}
} catch (e) {

View File

@ -2,6 +2,7 @@ name: s444452_fake_job_classification
docker_env:
image: s444452/ium:1.4
volumes: ["/tmp/mlruns:/mlruns:rw"]
entry_points:
train: