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

FSTrigger does not start on Pipeline job

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • fstrigger-plugin
    • None
    • Jenkins 2.91
      fstrigger 0.39

      FSTrigger settings can be applied to Pipeline job configuration, but it never starts.

      Log message:

      org.jenkinsci.plugins.fstrigger.triggers.FileNameTrigger.run() failed for org.jenkinsci.plugins.workflow.job.WorkflowJob@61930af3[gitsync/sync-tb.uat] java.lang.ClassCastException: org.jenkinsci.plugins.workflow.job.WorkflowJob cannot be cast to hudson.model.AbstractProject at org.jenkinsci.lib.xtrigger.AbstractTrigger.run(AbstractTrigger.java:124) at hudson.triggers.Trigger.checkTriggers(Trigger.java:278) at hudson.triggers.Trigger$Cron.doRun(Trigger.java:226) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51) at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:58) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

      For now we create a simple job that use FSTrigger and Pipeline job, that triggered after simple job build

       

            gbois Gregory Boissinot
            das999 Anatoliy Nenashev
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: