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' archiveArtifacts artifacts: '*.csv'
} }
} }
post { // post {
success { // success {
build job: 's424714-training' // build job: 's424714-training'
} // }
} // }

View File

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