IUM_04 - update Jenkinsfile - test
This commit is contained in:
parent
388244ea63
commit
29ed2c18ca
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -3,10 +3,14 @@ pipeline {
|
||||
dockerfile {
|
||||
filename 'Dockerfile'
|
||||
reuseNode true
|
||||
args "-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY} -e CUTOFF=${params.CUTOFF}"
|
||||
}
|
||||
}
|
||||
|
||||
environment {
|
||||
KAGGLE_USERNAME = credentials('KAGGLE_USERNAME')
|
||||
KAGGLE_KEY = credentials('KAGGLE_KEY')
|
||||
}
|
||||
|
||||
parameters {
|
||||
password (
|
||||
name: 'KAGGLE_USERNAME',
|
||||
@ -35,7 +39,7 @@ pipeline {
|
||||
stage('Download dataset and preprocess data') {
|
||||
steps {
|
||||
script {
|
||||
sh "echo ${params.KAGGLE_USERNAME}"
|
||||
sh "echo ${env.KAGGLE_USERNAME}"
|
||||
sh "echo ${KAGGLE_USERNAME}"
|
||||
sh "echo ${CUTOFF}"
|
||||
sh "echo ${params.CUTOFF}"
|
||||
|
Loading…
Reference in New Issue
Block a user