IUM_04
This commit is contained in:
parent
2e67997931
commit
50c62c859c
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -1,5 +1,5 @@
|
||||
pipeline {
|
||||
agent any
|
||||
agent { dockerfile true }
|
||||
|
||||
parameters {
|
||||
string(name: 'CUTOFF', defaultValue: '10000', description: 'Liczba wierszy do obcięcia ze zbioru danych')
|
||||
@ -15,16 +15,13 @@ pipeline {
|
||||
}
|
||||
|
||||
stage('Download, Process, and Split Dataset') {
|
||||
agent {
|
||||
dockerfile true
|
||||
}
|
||||
steps {
|
||||
withEnv([
|
||||
"KAGGLE_USERNAME=${env.KAGGLE_USERNAME}",
|
||||
"KAGGLE_KEY=${env.KAGGLE_KEY}"
|
||||
]) {
|
||||
sh "echo === VARIABLE SUBSTITUTION ==="
|
||||
sh "echo ${params.KAGGLE_USERNAME}"
|
||||
sh 'export KAGGLE_USERNAME=${env.KAGGLE_USERNAME}"'
|
||||
sh 'export KAGGLE_KEY=${env.KAGGLE_KEY}"'
|
||||
sh "python3 IUM_02.py"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user