Attempt to run hourly job only if there's change on git
Change-Id: Id4ef88cbe8ea2ba257f6d8963e9343ba8a5225e7
diff --git a/jjb/onos/onos-verify.yaml b/jjb/onos/onos-verify.yaml
index 2f9b44b..2f78f65 100644
--- a/jjb/onos/onos-verify.yaml
+++ b/jjb/onos/onos-verify.yaml
@@ -62,7 +62,7 @@
exclude-drafts: true
exclude-trivial-rebase: false
exclude-no-code-change: true
- - draft-published-event
+ - draft-published-event: true
- comment-added-contains-event:
comment-contains-value: '(?i)^.*recheck$'
projects:
@@ -134,7 +134,8 @@
jenkins-ssh-credential: '{jenkins-ssh-credential}'
triggers:
- - timed: '@hourly'
+ - pollscm:
+ cron: '@hourly'
# FIXME - there is a Slack integration plugin in 2.0.3
publishers:
@@ -624,4 +625,3 @@
jobs:
- 'onos-{stream}-stc-verify'
-