jjb: Add dev_gerrit_babeltrace_winbuild
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 10 Oct 2019 19:39:47 +0000 (15:39 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Thu, 10 Oct 2019 19:39:47 +0000 (15:39 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
jobs/babeltrace.yaml

index cc80e2e796fb8effc4b1600f38624cc1f612255c..278b838e54521d667930373e736a142bd4873a72 100644 (file)
           categories:
             - 'gerrit'
 
+- job-template:
+    name: dev_gerrit_babeltrace_winbuild
+    defaults: babeltrace
+    concurrent: true
+
+    scm:
+      - git:
+          url: https://review.lttng.org/babeltrace
+          refspec: 'refs/changes/*:refs/changes/*'
+          branches:
+            - '$GERRIT_REFSPEC'
+          basedir: src/babeltrace
+          skip-tag: true
+
+    triggers:
+      - gerrit:
+          trigger-on:
+            - comment-added-event:
+                approval-category: 'CI-Build'
+                approval-value: 1
+          projects:
+            - project-compare-type: 'PLAIN'
+              project-pattern: 'babeltrace'
+              branches:
+                - branch-compare-type: 'ANT'
+                  branch-pattern: '**'
+          trigger-for-unreviewed-patches: true
+
+    properties:
+      - inject:
+          properties-content: |
+            PROJECT_NAME=babeltrace
+      - build-discarder:
+          days-to-keep: 1
+      - throttle:
+          option: 'category'
+          categories:
+            - 'gerrit'
+
+    <<: *babeltrace_build_axes_defaults
+    <<: *babeltrace_build_builders_win
+    <<: *babeltrace_build_publishers_gerrit
+
 - job-template:
     name: dev_gerrit_babeltrace_pylint
     defaults: babeltrace
           build: !!python/tuple [std]
           conf: !!python/tuple [std, prod]
           filter: ''
+      - 'dev_gerrit_babeltrace_winbuild':
+          arch: !!python/tuple [cygwin64, msys2-mingw64]
+          build: !!python/tuple [std]
+          conf: !!python/tuple [std]
       - 'dev_gerrit_babeltrace_pylint'
 
 
This page took 0.023905 seconds and 4 git commands to generate.