ZBLOG

jenkins的Triggers

Jenkins Triggers refer to the events or conditions that can initiate a Jenkins build job. Here are some commonly used triggers in Jenkins:

  1. Poll SCM: This trigger allows Jenkins to automatically check for changes in the source code repository at predefined intervals.

  2. Schedule: With this trigger, you can schedule your jobs to run at specific times or on specific dates.

  3. Build after other projects are built: This trigger allows you to configure a job to run automatically after another job has finished running successfully.

  4. Trigger builds remotely: This trigger allows you to start a build remotely using an HTTP GET request.

  5. GitHub hook trigger: This trigger allows Jenkins to listen to webhook events from a GitHub repository and automatically trigger a build when a change is detected.

  6. Pipeline trigger: This trigger allows you to define custom pipeline triggers in your Jenkinsfile.

  7. GitLab webhook trigger: Similar to the GitHub hook trigger, this trigger allows Jenkins to listen to webhook events from a GitLab repository and automatically trigger a build when a change is detected.

  8. Trigger parameterized builds: This trigger allows you to pass parameters to a job when triggering it, allowing for greater flexibility and customization.

本站部分文章来源于网络,版权归原作者所有,如有侵权请联系站长删除。
转载请注明出处:https://golang.0voice.com/?id=1279

分享:
扫描分享到社交APP
上一篇
下一篇
发表列表
游客 游客
此处应有掌声~
评论列表

还没有评论,快来说点什么吧~

联系我们

在线咨询: 点击这里给我发消息

微信号:3007537140

上班时间: 10:30-22:30

关注我们
x

注册

已经有帐号?