fix model.py
This commit is contained in:
parent
43c26e6d65
commit
40d06776f5
19
Jenkinsfile
vendored
19
Jenkinsfile
vendored
@ -1,21 +1,21 @@
|
||||
pipeline {
|
||||
agent {
|
||||
dockerfile true
|
||||
agent {
|
||||
dockerfile true
|
||||
}
|
||||
|
||||
parameters {
|
||||
string(
|
||||
defaultValue: '10000',
|
||||
name: 'CUTOFF',
|
||||
name: 'CUTOFF',
|
||||
description: 'Liczba wierszy do obcięcia ze zbioru danych')
|
||||
string(
|
||||
defaultValue: '',
|
||||
name: 'KAGGLE_USERNAME',
|
||||
name: 'KAGGLE_USERNAME',
|
||||
description: 'Kaggle username')
|
||||
password(
|
||||
defaultValue: '',
|
||||
name: 'KAGGLE_KEY',
|
||||
description: 'Kaggle API key')
|
||||
name: 'KAGGLE_KEY',
|
||||
description: 'Kaggle API key')
|
||||
}
|
||||
|
||||
stages {
|
||||
@ -28,7 +28,7 @@ pipeline {
|
||||
stage('Download') {
|
||||
steps {
|
||||
withEnv([
|
||||
"KAGGLE_USERNAME=${env.KAGGLE_USERNAME}",
|
||||
"KAGGLE_USERNAME=${env.KAGGLE_USERNAME}",
|
||||
"KAGGLE_KEY=${env.KAGGLE_KEY}"
|
||||
]) {
|
||||
sh "bash ./create-dataset.sh ${params.CUTOFF}"
|
||||
@ -44,10 +44,5 @@ pipeline {
|
||||
archiveArtifacts artifacts: 'car_prices_predict_model.h5, predicted_selling_prices.csv', onlyIfSuccessful: true
|
||||
}
|
||||
}
|
||||
stage('Archive Results') {
|
||||
steps {
|
||||
archiveArtifacts artifacts: 'data/*', onlyIfSuccessful: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user