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

Missing "Build periodically" options in Multi-branch Pipeline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • None
    • Windows Server, Jenkins 2.46.1, Pipeline: Multibranch 2.14

      We have a multi-branch pipeline project configured that used to have the "Build periodically" option. This option is gone in the UI, but it is still in the config file:

      <hudson.triggers.TimerTrigger>
      <spec>H 0 * * *</spec>
      </hudson.triggers.TimerTrigger>

      It probably still works, unless I broke it today by updating some plugins (I'll have to await next evening to be certain).
      EDIT: The project is still triggered at the set interval, this lowers the priority somewhat.

      I'm not entirely certain how this was presented in the UI before, and I did not succeed in downgrading the right plugins to restore the option. But I know for sure that a cron-like syntax could be used just like the "Build periodically" option in Freestyle and Pipeline projects. It only triggered a build when a change was made on a branch.

            Unassigned Unassigned
            gstapviadata Gerbrand Stap
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: