Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting trigger githubPush() #232

Open
gfnord opened this issue Aug 19, 2022 · 0 comments
Open

Setting trigger githubPush() #232

gfnord opened this issue Aug 19, 2022 · 0 comments

Comments

@gfnord
Copy link

gfnord commented Aug 19, 2022

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant