Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-4898

Poll SCM trigger mechanism

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      Triggering builds using a CVS commit hook has significant advantages compared to
      polling, specifically builds are started immediately and the CVS server is less
      loaded as it is not being polled constantly.

      It would be very nice if it was possible to trigger hudson to poll CVS when
      triggered, ie. instead of configuring hudson to poll on a schedule it should be
      possible to configure a job to poll CVS when triggered.

      I imagine there could be another text field in the job configuration page when
      Poll SCM is checked where an scm/trigger-id can be specified. The job should
      then poll when an url like the following is invoked (from a commit hook):

      wget -O - http://YOURHUDSON/poll_scm?scm=<scm-id>

            Unassigned Unassigned
            tsondergaard tsondergaard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: