Don't add xenial/trusty branch condition for periodic jobs
We have now periodic jobs that end with ubuntu-xenial or ubuntu-trusty -
and thuse will never run, since periodic jobs cannot have a branch
condition.
Change the global xenial/trusty branch condition to exclude periodic
jobs.
@@ -1223,9 +1223,9 @@ jobs:
# Restrict explicit ubuntu-trusty jobs to < Newton
# and xenial to >= Newton. Note we keep liberty here to be defensive
# in our defaults even though liberty is largely eol and non existent.
- - name: ^.*-ubuntu-trusty(-nv)?$
+ - name: ^(?!periodic).*-ubuntu-trusty(-nv)?$
branch: ^stable/(liberty|mitaka)$
- - name: ^.*-ubuntu-xenial(-nv)?$
+ - name: ^(?!periodic).*-ubuntu-xenial(-nv)?$
branch: ^(?!stable/(liberty|mitaka)).*$
# These are tests for the designated branch run against
# projects that only have a master branch therefore we need
