Update Jenkinsfile
This commit is contained in:
parent
25eda64345
commit
90f2fd68e9
@ -27,12 +27,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
copyArtifacts filter: '*', projectName:'s444421-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
copyArtifacts filter: '*', projectName:'s444421-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||||
sh 'ipython ./training_sacred.py with "epochs=$EPOCHS"'
|
sh 'ipython ./training_sacred.py with "epochs=$EPOCHS"'
|
||||||
sh 'mv my_runs/1/config.json config.json'
|
archiveArtifacts artifacts: 'my_runs/1/*, model.pth, my_runs/_sources/*'
|
||||||
sh 'mv my_runs/1/model.pth model.pth'
|
|
||||||
sh 'mv my_runs/_sources/training* training_sacred.py'
|
|
||||||
sh 'mv my_runs/1/info.json info.json'
|
|
||||||
archiveArtifacts artifacts: 'config.json, model.pth, training_sacred.py, info.json'
|
|
||||||
sh 'rm -rf my_runs'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user