wip
This commit is contained in:
parent
a749edbe0c
commit
90c97b64d2
19
Jenkinsfile
vendored
19
Jenkinsfile
vendored
@ -1,5 +1,23 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
|
parameters {
|
||||||
|
string (
|
||||||
|
defaultValue: 'mikolajpokrywka',
|
||||||
|
description: 'Kaggle username',
|
||||||
|
name: 'KAGGLE_USERNAME',
|
||||||
|
trim: false
|
||||||
|
)
|
||||||
|
password(
|
||||||
|
defaultValue: '',
|
||||||
|
description: 'Kaggle token',
|
||||||
|
name: 'KAGGLE_KEY'
|
||||||
|
)
|
||||||
|
string (
|
||||||
|
defaultValue: '10000',
|
||||||
|
description: 'cut data',
|
||||||
|
name: 'CUTOFF',
|
||||||
|
trim: false
|
||||||
|
)
|
||||||
stages {
|
stages {
|
||||||
stage('checkout: Check out from version control') {
|
stage('checkout: Check out from version control') {
|
||||||
steps {
|
steps {
|
||||||
@ -8,6 +26,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('bash script') {
|
stage('bash script') {
|
||||||
steps {
|
steps {
|
||||||
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||||
sh "./process_data.sh"
|
sh "./process_data.sh"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user