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',
|
description: 'Kaggle token',
|
||||||
name: 'KAGGLE_KEY'
|
name: 'KAGGLE_KEY'
|
||||||
)
|
)
|
||||||
|
string(
|
||||||
|
defaultValue: '117928',
|
||||||
|
description: 'Cutoff',
|
||||||
|
name: 'CUTOFF',
|
||||||
|
trim: false
|
||||||
|
)
|
||||||
}
|
}
|
||||||
agent {
|
agent {
|
||||||
dockerfile{
|
dockerfile{
|
||||||
additionalBuildArgs '--build-arg KAGGLE_USERNAME="$KAGGLE_USERNAME" --build-arg KAGGLE_KEY="$KAGGLE_KEY"'
|
additionalBuildArgs '--build-arg KAGGLE_USERNAME="$KAGGLE_USERNAME" --build-arg KAGGLE_KEY="$KAGGLE_KEY"'
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Test') {
|
stage('Prepare dataset') {
|
||||||
steps {
|
steps {
|
||||||
sh 'env'
|
sh './download.sh $CUTOFF'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user