feat: automatic trigger

This commit is contained in:
Filip Patyk 2023-05-07 19:46:38 +02:00
parent 7b444e7684
commit 5129db545e
2 changed files with 12 additions and 5 deletions

View File

@ -54,8 +54,8 @@ node {
archiveArtifacts artifacts: '*.csv'
}
}
post {
success {
build job: 's424714-training'
}
}
// post {
// success {
// build job: 's424714-training'
// }
// }

View File

@ -1,6 +1,13 @@
node {
stage('Preparation') {
properties([
pipelineTriggers([
upstream(
threshold: hudson.model.Result.SUCCESS,
upstreamProjects: 's424714-create-dataset'
)
]),
copyArtifactPermission('*'),
parameters([
string(
defaultValue: '2',