added avocado data (dvc)
This commit is contained in:
parent
7a0993ad29
commit
2ac8760a9d
1
data/.gitignore
vendored
Normal file
1
data/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/avocado-updated-2020.csv
|
4
data/avocado-updated-2020.csv.dvc
Normal file
4
data/avocado-updated-2020.csv.dvc
Normal file
@ -0,0 +1,4 @@
|
||||
outs:
|
||||
- md5: a7d2692b94534a292ea554585956dc0a
|
||||
size: 3533727
|
||||
path: avocado-updated-2020.csv
|
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user