Fix for Jenkinsfile_stats
This commit is contained in:
parent
53d6148dd9
commit
496a723846
@ -8,10 +8,10 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage("Clone repo & print stats"){
|
stage("Clone repo & print stats"){
|
||||||
steps {
|
steps {
|
||||||
|
copyArtifacts fingerprintArtifacts: true, projectName: 's434704-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||||
sh "python3 script.py"
|
sh "python3 script.py"
|
||||||
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"
|
||||||
sh "./count_files_lines.sh"
|
sh "./count_files_lines.sh"
|
||||||
archiveArtifacts "stats.txt"
|
archiveArtifacts "stats.txt"
|
||||||
|
Loading…
Reference in New Issue
Block a user