running a freesyle job using a kubenetes cloud pod template runs scm triggered jobs continuously

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      run a freestyle job configured with an scm trigger using a kubenetes cloud agent template with the following trigger:

      git

      {    ...     branch("*/build-*") }

       
      triggers{
        scm('H/5 * * * *')
      }
       

      expected: 

      job checks for changes every 5 minutes, but only triggers when changes have been checked in on a matching branch

       

      actual: 

      job triggers every 5 minutes and runs continuously even when there are no branches with active changes

       

      note: when running the same job on a non-kubernetes based jenkins agent, the same build runs as expected (ie: job only triggers with actual changes are merged in the scm) so the issue likely pertains specifically to the kubernetes cloud agent template scenario

       

      note 2: the scenario doesn't happen with the branch doesn't use pattern matching

       

            Assignee:
            Alex Earl
            Reporter:
            Andrew Norman
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: