aboutsummaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2016-11-06 17:03:12 +0100
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2016-11-06 17:03:12 +0100
commit93077b6aa79f421da94d60e14c21c378210141ae (patch)
tree75178172bb2188841ecd1c6ba9de8867e0fbb385 /jjb
parentab213eeb07c190536a38e1057734607cbcc7543a (diff)
Add job for blowfish snapshots
Change-Id: If47dc9a9f8ea42982db6afeab66aa742c23d0e53 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/global-macros.yaml10
-rw-r--r--jjb/release-jjb-blowfish-snapshot/include-release-jjb-blowfish-snapshot-build.sh0
-rw-r--r--jjb/release-jjb-blowfish-snapshot/include-release-jjb-blowfish-snapshot-rsync.sh13
-rw-r--r--jjb/release-jjb-blowfish-snapshot/release-jjb-blowfish-snapshot.yaml41
4 files changed, 59 insertions, 5 deletions
diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml
index 18f251bc..ad4a42de 100644
--- a/jjb/global-macros.yaml
+++ b/jjb/global-macros.yaml
@@ -162,10 +162,10 @@
- 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'
@@ -177,10 +177,10 @@
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
@@ -197,7 +197,7 @@
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
index 00000000..e69de29b
--- /dev/null
+++ b/jjb/release-jjb-blowfish-snapshot/include-release-jjb-blowfish-snapshot-build.sh
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
index 00000000..7da13434
--- /dev/null
+++ b/jjb/release-jjb-blowfish-snapshot/include-release-jjb-blowfish-snapshot-rsync.sh
@@ -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
index 00000000..300a88b4
--- /dev/null
+++ b/jjb/release-jjb-blowfish-snapshot/release-jjb-blowfish-snapshot.yaml
@@ -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
+