Use archived dataset and trigger training
All checks were successful
s444409-training/pipeline/head This commit looks good
All checks were successful
s444409-training/pipeline/head This commit looks good
This commit is contained in:
parent
c8c7b24fb1
commit
3ba963864b
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -28,11 +28,11 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
archiveArtifacts artifacts: 'data/*',
|
||||
onlyIfSuccessful: true
|
||||
stage('Archive dataset and run training') {
|
||||
steps {
|
||||
archiveArtifacts artifacts: 'data/*', onlyIfSuccessful: true
|
||||
build job: 's444409-training/main/'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -20,16 +20,22 @@ pipeline {
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Run data stats') {
|
||||
stage('Get arifacts') {
|
||||
steps {
|
||||
sh "python power_plant_data_stats.py"
|
||||
copyArtifacts fingerprintArtifacts: true, projectName: 's444409-create-dataset', selector: lastSuccessful()
|
||||
}
|
||||
}
|
||||
|
||||
stage('Train model') {
|
||||
steps {
|
||||
sh "python train_model.py"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
post {
|
||||
always {
|
||||
archiveArtifacts artifacts: 'data/*',
|
||||
archiveArtifacts artifacts: 'model_out',
|
||||
onlyIfSuccessful: true
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user