Revert "Use archived dataset and trigger training"

This reverts commit 3ba963864b.
This commit is contained in:
Marcin Kostrzewski 2022-05-05 21:38:46 +02:00
parent 3ba963864b
commit 4128882975
2 changed files with 8 additions and 14 deletions

8
Jenkinsfile vendored
View File

@ -28,11 +28,11 @@ pipeline {
}
}
}
stage('Archive dataset and run training') {
steps {
archiveArtifacts artifacts: 'data/*', onlyIfSuccessful: true
build job: 's444409-training/main/'
}
post {
always {
archiveArtifacts artifacts: 'data/*',
onlyIfSuccessful: true
}
}
}

View File

@ -20,22 +20,16 @@ pipeline {
}
stages {
stage('Get arifacts') {
stage('Run data stats') {
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's444409-create-dataset', selector: lastSuccessful()
}
}
stage('Train model') {
steps {
sh "python train_model.py"
sh "python power_plant_data_stats.py"
}
}
}
post {
always {
archiveArtifacts artifacts: 'model_out',
archiveArtifacts artifacts: 'data/*',
onlyIfSuccessful: true
}
}