Prepare build on tag push 33/8033/1
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Mon, 2 Jan 2017 15:51:25 +0000 (16:51 +0100)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Mon, 2 Jan 2017 15:51:25 +0000 (16:51 +0100)
Change-Id: I7032f8123b76767af70dba8e96252c27094372f5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh
jjb/release-jjb-chinook-snapshot/release-jjb-chinook-snapshot.yaml

index 9677142..2d6b51e 100644 (file)
@@ -10,7 +10,7 @@ export RSYNCDST="jenkins-slave@10.30.72.8:/srv/download/AGL/mirror/"
 
 echo "would do rsync -avr -e \"ssh -o StrictHostKeyChecking=no\" $RSYNCSRC $RSYNCDST "
 
-if x"true" = x"$UPLOAD" ; then
+if x"yes" = x"$UPLOAD" ; then
 echo upload
 fi
 
index 732601f..fc24111 100644 (file)
@@ -24,7 +24,7 @@
           description: "refspec to build"
       - string:
           name: UPLOAD
-          default: NO
+          default: yes_or_no
           description: "Upload?"
     axes:
       - axis:
       artifact-days-to-keep: -1
       artifact-num-to-keep: 5
 
+    triggers:
+      - gerrit-trigger-patch-submitted-silent:
+            name: 'AGL/AGL-repo'
+            branch: 'refs/tags/**'
+
     wrappers:
       - agl-infra-wrappers:
           build-timeout: '{build-timeout}'