test
This commit is contained in:
parent
e9f058e426
commit
502ce19b4b
@ -11,6 +11,9 @@ RUN pip3 install kaggle
|
||||
|
||||
WORKDIR /ium
|
||||
|
||||
ARG KAGGLE_USERNAME
|
||||
ARG KAGGLE_KEY
|
||||
|
||||
COPY ./ium-data.py ./
|
||||
|
||||
CMD ./ium-data.py
|
||||
|
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -1,5 +1,7 @@
|
||||
pipeline {
|
||||
agent any
|
||||
agent {
|
||||
dockerfile {additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} -t zadanie"}
|
||||
}
|
||||
parameters {
|
||||
|
||||
string(
|
||||
@ -35,7 +37,8 @@ pipeline {
|
||||
sh 'chmod u+x download.sh'
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}","KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}"]) {
|
||||
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
||||
sh './download.sh'
|
||||
// sh './download.sh'
|
||||
sh "python ium-data.py"
|
||||
}
|
||||
archiveArtifacts artifacts: 'd_test.csv, d_dev.csv, d_train.csv'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user