From: Ken Dreyer Date: Tue, 14 Apr 2015 03:58:14 +0000 (-0600) Subject: import ceph-package jjb task X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=b87fbbe04f34d29b6cdfb8c583fc92307fa667f4;p=ceph-build.git import ceph-package jjb task This imports the current settings for "ceph-package" as YAML. This is an import of the job previously defined in Jenkins' own data store (ie /home2/jenkins/jobs/ceph-package/config.xml) Signed-off-by: Ken Dreyer --- diff --git a/ceph-package/build/build b/ceph-package/build/build new file mode 100644 index 00000000..6c936105 --- /dev/null +++ b/ceph-package/build/build @@ -0,0 +1,13 @@ +#!/bin/sh +for dir in * ; do + echo $dir + arch=$(echo $dir | cut -d',' -f1 | cut -d'=' -f2) + dist=$(echo $dir | cut -d',' -f2 | cut -d'=' -f2 | cut -d'-' -f1) + echo "arch = $arch, dist = $dist" + if [ -d $dir/dist/rpm ] ; then + echo "rpms" + fi + if [ -d $dir/dist/debian ] ; then + echo "debian" + fi +done diff --git a/ceph-package/config/definitions/ceph-package.yml b/ceph-package/config/definitions/ceph-package.yml new file mode 100644 index 00000000..2226a426 --- /dev/null +++ b/ceph-package/config/definitions/ceph-package.yml @@ -0,0 +1,56 @@ +- job: + name: ceph-build + defaults: global + disabled: false + display-name: 'ceph-build' + node: package + concurrent: false + block-downstream: false + block-upstream: false + logrotate: + daysToKeep: -1 + numToKeep: 20 + artifactDaysToKeep: -1 + artifactNumToKeep: -1 + + execution-strategy: + combination-filter: | + (Arch=="x86_64") || (Arch=="i386" && (Distro=="wheezy-pbuild" || Distro=="precise-pbuild")) + + axes: + - axis: + type: label-expression + name: Arch + values: + - x86_64 + - i386 + - axis: + type: label-expression + name: Distro + values: + - squeeze-pbuild + - wheezy-pbuild + - precise-pbuild + - trusty-pbuild + - centos6.3 + - centos6.4 + - centos6.5 + - centos7 + - rhel6.3 + - rhel6.4 + - rhel6.5 + - rhel7 + - fedora20 + + builders: + + # "Clean up any prior stuff" + - shell: 'rm -rf Arch=* 2>/dev/null; true' + + - copyartifact: + project: ceph-build + filter: 'dist/**' + which-build: last-successful + + - shell: + !include-raw ../../build/build