diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2016-12-31 12:25:01 +0100 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2016-12-31 12:25:01 +0100 |
commit | f21661f1bdf1ee71ffc1fb10b93309459368d546 (patch) | |
tree | 92adbd10d638f63743a135609d3cf92443bb7cd6 /jjb/release-jjb-chinook-snapshot | |
parent | 177e665eaca5c62e53ca0cb69fa15d4d4ab962e6 (diff) |
release-jjb-chinook-snapshot
Change-Id: I3f7d63125e980d9801263e939e58effc4230903b
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/release-jjb-chinook-snapshot')
3 files changed, 76 insertions, 0 deletions
diff --git a/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-build.sh b/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-build.sh new file mode 120000 index 00000000..2f40c060 --- /dev/null +++ b/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-build.sh @@ -0,0 +1 @@ +../common/include-agl-build.sh
\ No newline at end of file diff --git a/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh b/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh new file mode 100644 index 00000000..96771423 --- /dev/null +++ b/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh @@ -0,0 +1,17 @@ +#!/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 "would do rsync -avr -e \"ssh -o StrictHostKeyChecking=no\" $RSYNCSRC $RSYNCDST " + +if x"true" = x"$UPLOAD" ; then +echo upload +fi + +exit 0
\ No newline at end of file diff --git a/jjb/release-jjb-chinook-snapshot/release-jjb-chinook-snapshot.yaml b/jjb/release-jjb-chinook-snapshot/release-jjb-chinook-snapshot.yaml new file mode 100644 index 00000000..732601f9 --- /dev/null +++ b/jjb/release-jjb-chinook-snapshot/release-jjb-chinook-snapshot.yaml @@ -0,0 +1,58 @@ +- project: + name: release-jjb-chinook-snapshot + jobs: + - release-jjb-chinook-snapshot + +- job-template: + name: 'release-jjb-chinook-snapshot' + project-type: matrix + concurrent: false + node: master + + parameters: + - string: + name: GERRIT_PROJECT + default: AGL/AGL-repo + description: "Project to build" + - string: + name: GERRIT_BRANCH + default: chinook + description: "branch to build" + - string: + name: GERRIT_REFSPEC + default: refs/heads/chinook + description: "refspec to build" + - string: + name: UPLOAD + default: NO + description: "Upload?" + axes: + - axis: + type: user-defined + 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-chinook-snapshot-build.sh + - shell: + !include-raw-escape: include-release-jjb-chinook-snapshot-rsync.sh + |