From 93077b6aa79f421da94d60e14c21c378210141ae Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Sun, 6 Nov 2016 17:03:12 +0100 Subject: Add job for blowfish snapshots MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If47dc9a9f8ea42982db6afeab66aa742c23d0e53 Signed-off-by: Jan-Simon Möller --- jjb/global-macros.yaml | 10 +++--- .../include-release-jjb-blowfish-snapshot-build.sh | 0 .../include-release-jjb-blowfish-snapshot-rsync.sh | 13 +++++++ .../release-jjb-blowfish-snapshot.yaml | 41 ++++++++++++++++++++++ 4 files changed, 59 insertions(+), 5 deletions(-) create mode 100644 jjb/release-jjb-blowfish-snapshot/include-release-jjb-blowfish-snapshot-build.sh create mode 100644 jjb/release-jjb-blowfish-snapshot/include-release-jjb-blowfish-snapshot-rsync.sh create mode 100644 jjb/release-jjb-blowfish-snapshot/release-jjb-blowfish-snapshot.yaml (limited to 'jjb') 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 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 + -- cgit 1.2.3-korg