Adding manual trigger for daily jobs

Change-Id: Iff6bec25c09d0e066dab9add56ce5743bf6737b3
Signed-off-by: JulienBe <jb379x@att.com>
diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml
index f7e1472..460bb3a 100644
--- a/jjb/global-macros.yaml
+++ b/jjb/global-macros.yaml
@@ -311,6 +311,24 @@
                 - compare-type: 'ANT'
                   pattern: '{files}'
 
+- trigger:
+    name: gerrit-trigger-release-manually
+    triggers:
+      - gerrit:
+          server-name: '{server}'
+          trigger-on:
+            - comment-added-contains-event:
+                comment-contains-value: 'please release'
+          projects:
+            - project-compare-type: 'ANT'
+              project-pattern: '{project}'
+              branches:
+                - branch-compare-type: 'ANT'
+                  branch-pattern: '**/{branch}'
+              file-paths:
+                - compare-type: 'ANT'
+                  pattern: '**'
+
 # WRAPPERS
 - wrapper:
     name: build-timeout
diff --git a/jjb/global-templates-java.yaml b/jjb/global-templates-java.yaml
index f080a48..580df85 100644
--- a/jjb/global-templates-java.yaml
+++ b/jjb/global-templates-java.yaml
@@ -216,6 +216,10 @@
     triggers:
       # 11 AM UTC
       - timed: 'H 11 * * *'
+      - gerrit-trigger-release-manually:
+          server: '{server-name}'
+          project: '{project}'
+          branch: '{branch}'
 
     builders:
       - provide-maven-settings:
@@ -283,6 +287,10 @@
     triggers:
       # 11 AM UTC
       - timed: 'H 11 * * *'
+      - gerrit-trigger-release-manually:
+          server: '{server-name}'
+          project: '{project}'
+          branch: '{branch}'
 
     builders:
       - provide-maven-settings:
@@ -446,8 +454,12 @@
           build-timeout: '{build-timeout}'
 
     triggers:
-      # 11 AM UTC
+      # 12 AM UTC
       - timed: 'H 12 * * *'
+      - gerrit-trigger-release-manually:
+          server: '{server-name}'
+          project: '{project}'
+          branch: '{branch}'
 
     builders: