What is a trigger? Give an example of how the repository is polled when a new commit is detected.
Answer Posted / Pushpraj Singh
A trigger is an event that initiates a Jenkins job. Triggers can be configured to run a job based on various events such as changes in source code, manual user intervention, or scheduled times. When a new commit is detected in the repository (polling), it triggers a build for the associated Jenkins job.nFor example, if you have a Git repository and have set up a Jenkins job to be triggered by repository polling, whenever a new commit occurs in the repository, Jenkins will detect the change and trigger a build of the associated job.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category