Hi,
There is a way to setup a trigger for a seed_jobs that triggers when GitHub send a push when the repository receives a merge (githubPush())?
On the documentation I see only pollSCM (cron based, but only runs when there is changes on repository) and period (simple cron based).
seed_jobs:
SeedJob:
triggers:
# scm polling trigger
pollScm: '* * * * '
# period trigger
periodic: ' * * * *'
I want to setup a trigger like this example of declarative pipeline:
pipeline {
...
triggers {
githubPush()
}
...
}
Thanks,
Hi,
There is a way to setup a trigger for a seed_jobs that triggers when GitHub send a push when the repository receives a merge (githubPush())?
On the documentation I see only pollSCM (cron based, but only runs when there is changes on repository) and period (simple cron based).
seed_jobs:
SeedJob:
triggers:
# scm polling trigger
pollScm: '* * * * '
# period trigger
periodic: ' * * * *'
I want to setup a trigger like this example of declarative pipeline:
pipeline {
...
triggers {
githubPush()
}
...
}
Thanks,