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

@ -9,3 +9,4 @@ COPY . /code/
RUN python3 -m pip install -r requirements.txt 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 { node {
checkout scm checkout scm
try { try {
docker.image('s444452/ium:1.4').inside { docker.image('s444452/ium:1.4').inside('-v /mlruns:/mlruns') {
stage('Preparation') { stage('Preparation') {
properties([ properties([
pipelineTriggers([upstream(threshold: hudson.model.Result.SUCCESS, upstreamProjects: "s444452-create-dataset")]), pipelineTriggers([upstream(threshold: hudson.model.Result.SUCCESS, upstreamProjects: "s444452-create-dataset")]),
@ -47,6 +47,7 @@ node {
stage('Archive artifacts') { stage('Archive artifacts') {
archiveArtifacts "model/neural_net" archiveArtifacts "model/neural_net"
archiveArtifacts "my_runs/**" archiveArtifacts "my_runs/**"
archiveArtifacts "mlruns/**"
} }
} }
} catch (e) { } catch (e) {

View File

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