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

FSTrigger does not start on Pipeline job

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • fstrigger-plugin
    • None
    • Jenkins 2.91
      fstrigger 0.39

    Description

      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

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: