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

URLTtrigger does not poll on jobs which are tied to disconnected slaves

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • urltrigger-plugin
    • None
    • Jenkins 1.451
      URLTrigger Plugin 0.10, 0.14

      Since 0.10, URLTtrigger does not poll on jobs which are tied to disconnected slaves even if there are available executors on master.

      URLTrigger Plugin 0.9 makes master poll the URL even if the jobs are tied to slaves.
      If there are changes in URL, a slave that is tied to the job wakes up and runs the job.
      URLTrigger 0.9 says that polling has been done on slaves, but master polles.

      URLTrigger Log (0.14, job which is tied to disconnected slaves)
      Polling for the job aaaaaaaaaa
      Searching a node to run the polling for the label 'llllllll'.
      Can't find any complete active node for the polling action. Maybe slaves are not yet active at this time or the number of executor of the master is 0. Checking again in next polling schedule.
      
      URLTrigger Log (0.14, job which is not tied to any slaves)
      Polling for the job bbbbbbbbbb
      Polling on master.
      Polling started on Feb 28, 2012 10:22:42 AM
      Invoking the url: 
       http://aaaaaaaaaaa.invalid/bbbbbbbbbbbbbb
      Inspecting the content
      
      Polling complete. Took 0.12 sec.
      No changes.
      
      URLTrigger Log (0.9, job which is tied to disconnected slaves)
      Polling started on Feb 28, 2012 10:51:04 AM
      Searching a node to run the polling for the label 'llllllll'.
      Invoking the url: 
       http://aaaaaaaaaaa.invalid/bbbbbbbbbbbbbb
      Inspecting the content
      Polling complete. Took 0.14 sec
      No changes.
      

      Workarounds:

      • Downgrade URLTrigger Plugin to 0.9
      • Do not tie jobs which uses Use URLTrigger
        • Create a job that uses URLTrigger and do not tie the job to any slaves.
        • Configure the job to build other projects in its post-build actions.

            gbois Gregory Boissinot
            ohtake_tomohiro OHTAKE Tomohiro
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: