Add kaggle env support for stats
This commit is contained in:
parent
49e7eb6c25
commit
53d6148dd9
@ -8,6 +8,8 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage("Clone repo & print stats"){
|
stage("Clone repo & print stats"){
|
||||||
steps {
|
steps {
|
||||||
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
|
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||||
sh "python3 script.py"
|
sh "python3 script.py"
|
||||||
copyArtifacts fingerprintArtifacts: true, projectName: 's434704-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
copyArtifacts fingerprintArtifacts: true, projectName: 's434704-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||||
sh "chmod 777 ./count_files_lines.sh"
|
sh "chmod 777 ./count_files_lines.sh"
|
||||||
@ -16,4 +18,5 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user