docker task 2 try_1
This commit is contained in:
parent
df72fdef61
commit
8e044b60c5
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
@ -1,5 +1,7 @@
|
||||
pipeline {
|
||||
agent any
|
||||
agent {
|
||||
dockerfile true
|
||||
}
|
||||
parameters {
|
||||
string(
|
||||
defaultValue: 'kamilab0bkowska',
|
||||
@ -8,15 +10,10 @@ pipeline {
|
||||
trim: false
|
||||
)
|
||||
password(
|
||||
defaultValue: '',
|
||||
defaultValue: '4825f5ebf3b5b834643d24c726593f39',
|
||||
description: 'kaggle passowrd',
|
||||
name: 'KAGGLE_KEY'
|
||||
)
|
||||
string(
|
||||
defaultValue: '10841',
|
||||
description: 'cutoff parameter',
|
||||
name: 'CUTOFF'
|
||||
)
|
||||
}
|
||||
|
||||
stages {
|
||||
@ -30,9 +27,9 @@ pipeline {
|
||||
steps {
|
||||
sh 'chmod +x -R ./data_prep.sh'
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||
"KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}"]) {
|
||||
"KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
|
||||
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
||||
sh './data_prep.sh $CUTOFF'
|
||||
sh 'data_expl.py'
|
||||
archiveArtifacts artifacts: 'apps_train.csv, apps_test.csv, apps_validate.csv'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user