Add trigger to build oc everyday
Change-Id: If62ae45dc7a8f11083f98bc3bebdff5b2e74b64f
diff --git a/jenkins/client/job/opencontrail/build/generic.yml b/jenkins/client/job/opencontrail/build/generic.yml
index 9643254..19701d6 100644
--- a/jenkins/client/job/opencontrail/build/generic.yml
+++ b/jenkins/client/job/opencontrail/build/generic.yml
@@ -14,6 +14,7 @@
ppa: mirantis-opencontrail/opencontrail-3.0.3
upload_source_package: false
dpdk: contrail_dpdk_2_1
+ build_trigger: ""
- buildname: oc31
os: ubuntu
dist: trusty
@@ -21,6 +22,7 @@
ppa: mirantis-opencontrail/opencontrail-3.1
upload_source_package: true
dpdk: contrail_dpdk_2_1
+ build_trigger: ""
- buildname: oc31
os: ubuntu
dist: xenial
@@ -28,6 +30,7 @@
ppa: mirantis-opencontrail/opencontrail-3.1
upload_source_package: true
dpdk: contrail_dpdk_2_1
+ build_trigger: ""
- buildname: oc311
os: ubuntu
dist: trusty
@@ -35,6 +38,7 @@
ppa: mirantis-opencontrail/opencontrail-3.1.1
upload_source_package: true
dpdk: contrail_dpdk_2_1
+ build_trigger: "H H(20-23) * * *"
- buildname: oc311
os: ubuntu
dist: xenial
@@ -42,6 +46,7 @@
ppa: mirantis-opencontrail/opencontrail-3.1.1
upload_source_package: true
dpdk: contrail_dpdk_2_1
+ build_trigger: "H H(20-23) * * *"
- buildname: oc32
os: ubuntu
dist: trusty
@@ -49,6 +54,7 @@
ppa: mirantis-opencontrail/opencontrail-3.2
upload_source_package: true
dpdk: contrail_dpdk_2_1
+ build_trigger: ""
- buildname: oc32
os: ubuntu
dist: xenial
@@ -56,6 +62,7 @@
ppa: mirantis-opencontrail/opencontrail-3.2
upload_source_package: true
dpdk: contrail_dpdk_2_1
+ build_trigger: ""
- buildname: oc323
os: ubuntu
dist: trusty
@@ -63,6 +70,7 @@
ppa: mirantis-opencontrail/opencontrail-3.2.3
upload_source_package: true
dpdk: contrail_dpdk_2_1
+ build_trigger: "H H(20-23) * * *"
- buildname: oc323
os: ubuntu
dist: xenial
@@ -70,6 +78,7 @@
ppa: mirantis-opencontrail/opencontrail-3.2.3
upload_source_package: true
dpdk: contrail_dpdk_2_1
+ build_trigger: "H H(20-23) * * *"
- buildname: oc40
os: ubuntu
dist: trusty
@@ -77,6 +86,7 @@
ppa: mirantis-opencontrail/opencontrail-4.0
upload_source_package: true
dpdk: contrail_dpdk_2_1
+ build_trigger: "H H(20-23) * * *"
- buildname: oc40
os: ubuntu
dist: xenial
@@ -84,6 +94,7 @@
ppa: mirantis-opencontrail/opencontrail-4.0
upload_source_package: true
dpdk: contrail_dpdk_2_1
+ build_trigger: "H H(20-23) * * *"
- buildname: oc40-dpdk1702
os: ubuntu
dist: trusty
@@ -91,6 +102,7 @@
ppa: mirantis-opencontrail/opencontrail-4.0-dpdk-17-02
upload_source_package: false
dpdk: contrail_dpdk_17_02
+ build_trigger: "H H(20-23) * * *"
- buildname: oc40-dpdk1702
os: ubuntu
dist: xenial
@@ -98,18 +110,21 @@
ppa: mirantis-opencontrail/opencontrail-4.0-dpdk-17-02
upload_source_package: false
dpdk: contrail_dpdk_17_02
+ build_trigger: "H H(20-23) * * *"
- buildname: oc666
os: ubuntu
dist: trusty
branch: master
ppa: mirantis-opencontrail/opencontrail-master
upload_source_package: false
+ build_trigger: ""
- buildname: oc666
os: ubuntu
dist: xenial
branch: master
ppa: mirantis-opencontrail/opencontrail-master
upload_source_package: false
+ build_trigger: ""
template:
discard:
build:
@@ -164,6 +179,8 @@
type: boolean
default: '{{upload_source_package}}'
trigger:
+ pollscm:
+ spec: "{{build_trigger}}"
gerrit:
project:
contrail/contrail-pipeline: