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

FSTrigger doesn't trigger scheduled jobs on restart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • fstrigger-plugin
    • None
    • CentOS 6

      There are jobs set up to monitor trigger files in a directory. So the flow should be continuous instance of jenkins runs a job. If job is successfull it touches a target file. The production build instance of Jenkins then monitores those target files and is supposed to run jobs at designated times if the timestamp is updated.
      All works as designed unless I restart the production instance of Jenkins.
      Then I get some logs as follows and the corrisponding job does not get run.

      ==============================================
      Polling started on Jan 30, 2014 3:06:30 AM
      Polling for the job APP2_Nightly
      Looking nodes where the poll can be run.
      Looking for a candidate node to run the poll.
      Looking for a node with no predefined label.
      Trying to poll with the last built on node.

      Polling remotely on fred
      Checking one file: '/opt/loadbuild/staging/stellar.prodea.local/buildTriggers/APP2.tgt'.
      No nodes were available at startup or at previous poll.

      Polling complete. Took 48 ms.
      No changes.
      ===============================================

      Couple of things:
      First would be nice to notified at startup some way that this happend.
      Two there are 10 queues accross three servers these could run on at startup. There are only 6 jobs currently using this method of process flow.

      Really would like to scale this up but cannot until this is resolved.

            gbois Gregory Boissinot
            piscessmith Lance Smith
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: