X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=jobs%2Fkernel.yaml;h=0b59663c730b0a13792fb330a2eba246d96ce007;hb=f899b1bed55562298cfa0d86bcefd9bc27f98ba1;hp=ebe604b84102e591177d57efcf09ae828dde05f9;hpb=bb2f38b122b0f3c45437656e149a7efb3ef7ef7b;p=lttng-ci.git diff --git a/jobs/kernel.yaml b/jobs/kernel.yaml index ebe604b..0b59663 100644 --- a/jobs/kernel.yaml +++ b/jobs/kernel.yaml @@ -2,7 +2,9 @@ - defaults: name: kernel description: | - TODO + Prepare kernel tree for OOT build of lttng-modules + +

Job is managed by Jenkins Job Builder.

project-type: freestyle @@ -17,21 +19,22 @@ - timestamps - ansicolor - scm: - - git: - url: git://artifacts.internal.efficios.com/git/linux-stable.git - branches: - - refs/tags/v{kversion} - shallow-clone: true - skip-tag: true - fastpoll: true - basedir: linux - reference-repo: $HOME/gitcache/linux-stable.git/ + #scm: + # - git: + # url: git://artifacts.internal.efficios.com/git/linux-stable.git + # branches: + # - refs/tags/v{kversion} + # shallow-clone: true + # skip-tag: true + # fastpoll: true + # basedir: linux + # reference-repo: $HOME/gitcache/linux-stable.git/ properties: - throttle: max-per-node: 0 max-total: 0 + option: category categories: - 'lttng-module-linux' @@ -42,6 +45,7 @@ defaults: kernel project-type: matrix + node: 'x86-32 || x86-64' # Applies only to matrix flyweight task axes: - axis: type: slave @@ -49,6 +53,8 @@ values: '{obj:arch}' builders: + - shell: | + git clone --depth=1 -b "v{kversion}" --reference $HOME/gitcache/linux-stable.git/ git://artifacts.internal.efficios.com/git/linux-stable.git linux - shell: !include-raw-escape scripts/kernel/build.sh @@ -56,10 +62,7 @@ - archive: artifacts: 'build/**' allow-empty: false - fingerprint: true - - trigger: - project: lttng-modules_master_{kversion}_{buildtype} - threshold: SUCCESS + - workspace-cleanup ## Project @@ -71,6 +74,6 @@ - 'kernel_{kversion}_{buildtype}': buildtype: build arch: !!python/tuple [x86-32, x86-64] - - 'kernel_{kversion}_{buildtype}': - buildtype: portbuild - arch: !!python/tuple [armhf, powerpc] + #- 'kernel_{kversion}_{buildtype}': + # buildtype: portbuild + # arch: !!python/tuple [armhf, powerpc]