Jenkins job notification fails with “No git consumers for URI …”

前端 未结 1 795
生来不讨喜
生来不讨喜 2021-02-11 20:28

I want to set up a post-receive git hook that notify jenkins about the change, but no job is triggered in jenkins.

My

相关标签:
1条回答
  • 2021-02-11 21:07

    Enable SCM polling for each project you want to notify:

    1. Go to the Dashboard.
    2. Click on your project.
    3. Click Configure.
    4. Under Build Triggers check the box for Poll SCM.
    5. Repeat for any other projects.

    The notification you send tells Jenkins to poll the repository, so projects will only respond if SCM polling is enabled.

    0 讨论(0)
提交回复
热议问题