working pass read param
This commit is contained in:
parent
367a68ea6f
commit
66dc3f9340
11
Jenkinsfile3
11
Jenkinsfile3
@ -11,17 +11,22 @@ pipeline {
|
||||
description: 'Kaggle token',
|
||||
name: 'KAGGLE_KEY'
|
||||
)
|
||||
string(
|
||||
defaultValue: '117928',
|
||||
description: 'Cutoff',
|
||||
name: 'CUTOFF',
|
||||
trim: false
|
||||
)
|
||||
}
|
||||
agent {
|
||||
dockerfile{
|
||||
additionalBuildArgs '--build-arg KAGGLE_USERNAME="$KAGGLE_USERNAME" --build-arg KAGGLE_KEY="$KAGGLE_KEY"'
|
||||
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage('Test') {
|
||||
stage('Prepare dataset') {
|
||||
steps {
|
||||
sh 'env'
|
||||
sh './download.sh $CUTOFF'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user