added avocado data (dvc)
Some checks failed
s434742-training/pipeline/head There was a failure building this commit
s434742-evaluation/pipeline/head This commit looks good

This commit is contained in:
patrycjalazna 2021-06-11 22:37:41 +02:00
parent 7a0993ad29
commit 2ac8760a9d
3 changed files with 45 additions and 0 deletions

1
data/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/avocado-updated-2020.csv

View File

@ -0,0 +1,4 @@
outs:
- md5: a7d2692b94534a292ea554585956dc0a
size: 3533727
path: avocado-updated-2020.csv

View File

@ -0,0 +1,40 @@
pipeline {
agent {
dockerfile true
}
parameters {
string(
defaultValue: 'input_example.json',
description: 'Input name',
name: 'INPUT_EXAMPLE',
trim: false
)
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts for predict',
name: 'BUILD_SELECTOR_s434704')
}
stages{
stage('copy artifacts from s434704') {
steps {
copyArtifacts filter: 'movies_on_streaming_platforms_model/**/*', fingerprintArtifacts: false, projectName: 's434704-training/master', selector: buildParameter('BUILD_SELECTOR_s434704')
}
}
stage('predict data from s434704') {
steps {
script {
sh 'chmod +x predict-s434704.py'
sh 'python3 predict-s434704.py $INPUT_EXAMPLE'
}
}
}
}
}