try
This commit is contained in:
parent
7d1f6d9b3c
commit
6a8fbc8da5
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -35,19 +35,13 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||||
sh 'chmod 777 data_processing.py'
|
|
||||||
sh 'python data_processing.py'
|
sh 'python data_processing.py'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Artifacts') {
|
stage('Artifacts') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
archiveArtifacts artifacts: 'hp_train.csv,hp_dev.csv,hp_test.csv'
|
||||||
def artifactsList = ['hp_train.csv', 'hp_dev.csv', 'hp_test.csv']
|
|
||||||
artifactsList.each { artifact ->
|
|
||||||
archiveArtifacts artifacts: artifact
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,12 +33,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Artifacts') {
|
stage('Artifacts') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
archiveArtifacts artifacts: 'hp_train_stats.csv,hp_dev_stats.csv,hp_test_stats.csv'
|
||||||
def artifactsList = ['hp_train_stats.csv', 'hp_dev_stats.csv', 'hp_test_stats.csv'']
|
|
||||||
artifactsList.each { artifact ->
|
|
||||||
archiveArtifacts artifacts: artifact
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user