Update macros to have a silent version of the manual build 73/8573/1
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Tue, 28 Feb 2017 14:08:07 +0000 (15:08 +0100)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Tue, 28 Feb 2017 14:08:07 +0000 (15:08 +0100)
Change-Id: I1b12fc80a04072f74253f49023b48a1f5cb9f130
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
jjb/global-macros.yaml
jjb/snapshot-jjb-container/include-rsync-container.sh

index cce383b..4bb2563 100644 (file)
                 - branch-compare-type: 'ANT'
                   branch-pattern: '**/{branch}'
 
+- trigger:
+    name: gerrit-trigger-patch-submitted-manual-verified-silent
+    triggers:
+      - gerrit:
+          server-name: 'gerrit.automotivelinux.org'
+          trigger-on:
+            - patchset-created-event:
+                exclude-drafts: 'false'
+                exclude-trivial-rebase: 'false'
+                exclude-no-code-change: 'true'
+            - draft-published-event
+            - comment-added-contains-event:
+                comment-contains-value: 'recheck'
+            - comment-added-contains-event:
+                comment-contains-value: 'rebuild'
+            - comment-added-contains-event:
+                comment-contains-value: 'reverify'
+            - comment-added-contains-event:
+                comment-contains-value: 'RECHECK'
+            - comment-added-contains-event:
+                comment-contains-value: 'REBUILD'
+            - comment-added-contains-event:
+                comment-contains-value: 'REVERIFY'
+          projects:
+            - project-compare-type: 'ANT'
+              project-pattern: '{name}'
+              branches:
+                - branch-compare-type: 'ANT'
+                  branch-pattern: '**/{branch}'
+          gerrit-build-started-verified-value: 0
+          gerrit-build-successful-verified-value: 1
+          gerrit-build-failed-verified-value: 0
+          skip-vote:
+            successful: true
+            failed: true
+            unstable: true
+            notbuilt: true
+          silent: 'true'
+
 - trigger:
     name: gerrit-trigger-patch-submitted-manual-verified
     triggers:
index e2ee1b9..e50a6eb 100644 (file)
@@ -8,6 +8,6 @@ set -e
 export RSYNCSRC="$(pwd)/container/"
 export RSYNCDST="jenkins-slave@10.30.72.8:/srv/download/AGL/snapshots/sdk/docker/"
 
-echo " rsync -avr -e \"ssh -o StrictHostKeyChecking=no\" $RSYNCSRC $RSYNCDST "
+rsync -avr -e "ssh -o StrictHostKeyChecking=no" $RSYNCSRC $RSYNCDST
 
 exit 0
\ No newline at end of file