Revert "Use archived dataset and trigger training"
This reverts commit 3ba963864b
.
This commit is contained in:
parent
3ba963864b
commit
4128882975
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user