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

Rest-API-Triggered Polling not working with ScriptTrigger

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • scripttrigger-plugin
    • None
    • Jenkins 1.554.3
      scripttrigger 0.31
      GIT plugin 2.2.12
      GIT client plugin 1.15.0

      When calling notifyCommit via Rest (<jenkins url>/git/notifyCommit?url=...) usually SCM-Polling of the related jobs starts immediately. This works perfectly when using "Poll SCM" setting but not with "[ScriptTrigger] - Poll with a shell or batch script".
      Script trigger polling should behave the same way as default polling and start the script when notifyCommit is called.

      The current workaround is to poll periodically with the "Schedule" setting.

            gbois Gregory Boissinot
            ronaldangerer Ronald Angerer
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: