jjb: lttng-modules: Add mjeanson dev jobs
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 29 Jan 2021 16:14:12 +0000 (11:14 -0500)
committerMichael Jeanson <mjeanson@efficios.com>
Fri, 29 Jan 2021 16:14:12 +0000 (11:14 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
jobs/lttng-modules.yaml

index 4611ab265b3a50779365f1688942e88173755fd5..83f7981ea2f19b4208c60bcf3d7d6f8eea4d7019 100644 (file)
 
     scm:
       - git:
-          url: git://git-mirror.internal.efficios.com/{github_user}/{github_name}.git
+          url: https://github.com/{github_user}/{github_name}.git
           browser: githubweb
           browser-url: https://github.com/{github_user}/{github_name}
           branches:
     <<: *lttng-modules_build_parameters_defaults
     <<: *lttng-modules_build_builders_defaults
 
+- job-template:
+    name: dev_mjeanson_lttng-modules_{mversion}_{buildtype}-vanilla
+    defaults: lttng-modules
+    description: |
+      The LTTng modules provide Linux kernel tracing capability to the LTTng
+      2.0 tracer toolset.
+
+      This job will build the {mversion} branch against stable vanilla
+      kernel tags.
+
+      <p>Job is managed by Jenkins Job Builder.</p>
+
+    node: 'master'
+
+    parameters:
+      - string:
+          name: 'maxConcurrentBuild'
+          default: '20'
+          description: 'The maximum number of concurrent child build to run.'
+      - string:
+          name: 'kverfloor'
+          default: '{kverfloor}'
+          description: 'The lowest kernel version to build.'
+      - string:
+          name: 'kverceil'
+          default: '{kverceil}'
+          description: 'The highest kernel version to build. (excluded)'
+      - string:
+          name: 'kverfilter'
+          default: '{kverfilter}'
+          description: 'Kernel versions list filtering strategy.'
+      - string:
+          name: 'kverrc'
+          default: 'true'
+          description: 'Add latest RC to kernel versions list.'
+      - string:
+          name: 'kgitrepo'
+          default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
+          description: 'The linux kernel git repository url.'
+      - string:
+          name: 'kbuildjob'
+          default: 'dev_mjeanson_lttng-modules_PARAM_{parambuildtype}'
+          description: 'The parametrized job to use for child builds.'
+
+    <<: *lttng-modules_build_builders_defaults
+
 - job-template:
     name: dev_gerrit_lttng-modules_build
     defaults: lttng-modules
     publishers:
       - workspace-cleanup
 
+- job-template:
+    name: dev_mjeanson_lttng-modules_PARAM_build
+    defaults: lttng-modules
+    description: |
+      This is a parametrized job used by 'master' jobs to build any combinations
+      of lttng-modules and linux kernel versions.
+
+      <p>Job is managed by Jenkins Job Builder.</p>
+
+    project-type: matrix
+    node: 'master' # Applies only to matrix flyweight task
+    axes:
+      - axis:
+          type: slave
+          name: arch
+          values: '{obj:arch}'
+
+    properties:
+      - build-discarder:
+          days-to-keep: 2
+
+    parameters:
+      - string:
+          name: 'mversion'
+          default: 'master'
+          description: 'The lttng-modules branch to build.'
+      - string:
+          name: 'mgitrepo'
+          default: 'https://github.com/{github_user}/lttng-modules.git'
+          description: 'The lttng-modules git repository url.'
+      - string:
+          name: 'ktag'
+          default: ''
+          description: 'The linux kernel git tag to build against.'
+      - string:
+          name: 'kgitrepo'
+          default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
+          description: 'The linux kernel git repository url.'
+
+    concurrent: true
+
+    scm: []
+
+    triggers:
+
+    builders:
+      - shell:
+          !include-raw-escape: scripts/lttng-modules/param-build.sh
+
+    publishers:
+      - workspace-cleanup
+
 
 - job-template:
     name: lttng-modules_PARAM_crossbuild
           kverfloor: v5.5
           kverceil: v5.6
           kverfilter: stable-head
+
+- project:
+    name: lttng-modules-dev-mjeanson
+    github_user: mjeanson
+    github_name: lttng-modules
+    email_to: ''
+    jobs:
+      - 'dev_mjeanson_lttng-modules_PARAM_build':
+          arch: !!python/tuple [amd64]
+      - 'dev_mjeanson_lttng-modules_{mversion}_{buildtype}-vanilla':
+          mversion:
+            - master
+          buildtype: build
+          parambuildtype: build
+          kverfloor: v3.0
+          kverceil: ''
+          kverfilter: stable-head
This page took 0.025513 seconds and 4 git commands to generate.