Add job for blowfish snapshots 43/7043/1
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Sun, 6 Nov 2016 16:03:12 +0000 (17:03 +0100)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Sun, 6 Nov 2016 16:03:12 +0000 (17:03 +0100)
Change-Id: If47dc9a9f8ea42982db6afeab66aa742c23d0e53
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
jjb/global-macros.yaml
jjb/release-jjb-blowfish-snapshot/include-release-jjb-blowfish-snapshot-build.sh [new file with mode: 0644]
jjb/release-jjb-blowfish-snapshot/include-release-jjb-blowfish-snapshot-rsync.sh [new file with mode: 0644]
jjb/release-jjb-blowfish-snapshot/release-jjb-blowfish-snapshot.yaml [new file with mode: 0644]

index 18f251b..ad4a42d 100644 (file)
             - comment-added-contains-event:
                 comment-contains-value: 'remerge'
           projects:
-            - project-compare-type: 'ANT'
+            - project-compare-type: 'Plain'
               project-pattern: '{name}'
               branches:
-                - branch-compare-type: 'ANT'
+                - branch-compare-type: 'Path'
                   branch-pattern: '**/{branch}'
           silent-start: 'true'
 
           trigger-on:
             - ref-updated-event
           projects:
-            - project-compare-type: 'ANT'
+            - project-compare-type: 'Plain'
               project-pattern: '{name}'
               branches:
-                - branch-compare-type: 'ANT'
+                - branch-compare-type: 'Path'
                   branch-pattern: 'refs/tags/**'
 
 # Publishers
     name: email-notification
     publishers:
       - email-ext:
-          recipients: 'nobody@automotivelinux.org'
+          recipients: 'jsmoeller@linuxfoundation.org'
           reply-to:
           content-type: default
           # yamllint disable rule:line-length
diff --git a/jjb/release-jjb-blowfish-snapshot/include-release-jjb-blowfish-snapshot-build.sh b/jjb/release-jjb-blowfish-snapshot/include-release-jjb-blowfish-snapshot-build.sh
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/jjb/release-jjb-blowfish-snapshot/include-release-jjb-blowfish-snapshot-rsync.sh b/jjb/release-jjb-blowfish-snapshot/include-release-jjb-blowfish-snapshot-rsync.sh
new file mode 100644 (file)
index 0000000..7da1343
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+#set -x
+set -e
+
+#ls -alh
+
+export RSYNCSRC="$(pwd)/mirror/"
+export RSYNCDST="jenkins-slave@10.30.72.8:/srv/download/AGL/mirror/"
+
+echo " rsync -avr -e \"ssh -o StrictHostKeyChecking=no\" $RSYNCSRC $RSYNCDST "
+
+exit 0
\ No newline at end of file
diff --git a/jjb/release-jjb-blowfish-snapshot/release-jjb-blowfish-snapshot.yaml b/jjb/release-jjb-blowfish-snapshot/release-jjb-blowfish-snapshot.yaml
new file mode 100644 (file)
index 0000000..300a88b
--- /dev/null
@@ -0,0 +1,41 @@
+- project:
+    name: release-jjb-blowfish-snapshot
+    jobs:
+        - release-jjb-blowfish-snapshot
+
+- job-template:
+    name: 'release-jjb-blowfish-snapshot'
+    project-type: matrix
+    concurrent: false
+    node: master
+
+    axes:
+      - axis:
+          type: label-expression
+          name: MACHINE
+          values:
+            - qemux86
+            - porter-nogfx
+            - intel-corei7-64
+      - axis:
+          type: slave
+          name: label
+          values:
+            - agl-test-slave
+
+    build-discarder:
+      days-to-keep: 30
+      num-to-keep: 40
+      artifact-days-to-keep: -1
+      artifact-num-to-keep: 5
+
+    wrappers:
+      - agl-infra-wrappers:
+          build-timeout: '{build-timeout}'
+
+    builders:
+      - shell:
+            !include-raw-escape: include-release-jjb-blowfish-snapshot-build.sh
+      - shell:
+            !include-raw-escape: include-release-jjb-blowfish-snapshot-rsync.sh
+