jjb: fix all the kernel builds
[lttng-ci.git] / jobs / lttng-scope.yml
index 823ab4111faaf0625f51b80b0f7695f55501d837..ade281eccb1d8056a56ff52788f9613cbdb450a3 100644 (file)
@@ -14,9 +14,9 @@
 
     scm:
       - git:
-          url: git://github.com/{github_user}/{github_name}.git
+          url: https://github.com/{github_user}/{github_project}.git
           browser: githubweb
-          browser-url: https://github.com/{github_user}/{github_name}
+          browser-url: https://github.com/{github_user}/{github_project}
           branches:
             - origin/{version}
           skip-tag: true
     triggers:
       - pollscm:
           cron: "@hourly"
+      - timed: "@daily"
 
     properties:
       - build-discarder:
-          num-to-keep: 7
-      - github:
-          url: https://github.com/{github_user}/{github_name}
+          num-to-keep: 2
 
 
 ## Templates
          type: slave
          name: arch
          values: '{obj:arch}'
-      - axis:
-         type: user-defined
-         name: SWT_GTK3
-         values:
-           - "0"
 
     wrappers:
       - workspace-cleanup
           goals: clean install -Dmaven.test.skip=false
           private-repository: true
           settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4'
-          properties:
-            - maven.test.failure.ignore=true
-            - eclipse.p2.mirrors=false
 
     publishers:
       - archive:
-          artifacts: 'releng/org.lttng.scope.rcp.product/target/repository/**,releng/org.lttng.scope.rcp.product/target/products/*'
+          artifacts: '**/target/*.jar'
           allow-empty: false
           only-if-success: true
       - junit:
               total-high: 0
               total-normal: 0
               total-low: 0
+          messages-to-ignore: |-
+            No sources found skipping Kotlin compile
+            Ignoring project type pom - supportedProjectTypes = \[jar, bundle\]
+            ^Tests run:.*
+            .*Source root doesn't exist.*
+            Could not transfer metadata.*codehaus-snapshots.*
       - workspace-cleanup
       - email-ext:
-          recipients: alex@voxpopuli.im
-          matrix-trigger: only-parent
-#      - ircbot:
-#          strategy: new-failure-and-fixed
-#          matrix-notifier: only-parent
-#          channels:
-#            - name: '#lttng'
-
+         recipients: '{obj:email_for_all_failure}'
+         always: false
+         unstable: true
+         first-failure: false
+         first-unstable: false
+         not-built: false
+         aborted: false
+         regression: false
+         failure: true
+         second-failure: false
+         improvement: false
+         still-failing: false
+         success: false
+         fixed: false
+         fixed-unhealthy: true
+         still-unstable: false
+         pre-build: false
+         matrix-trigger: only-parent
+         send-to:
+           - recipients
+      - email-ext:
+         recipients: '{obj:email_to}'
+         reply-to: ci-notification@lists.lttng.org
+         always: false
+         unstable: false
+         first-failure: true
+         first-unstable: true
+         not-built: false
+         aborted: false
+         regression: false
+         failure: false
+         second-failure: false
+         improvement: false
+         still-failing: false
+         success: false
+         fixed: false
+         fixed-unhealthy: true
+         still-unstable: false
+         pre-build: false
+         matrix-trigger: only-parent
+         send-to:
+           - recipients
 
 - job-template:
     name: lttng-scope_{version}_winbuild
 
     scm:
       - git:
-          url: git://github.com/{github_user}/{github_name}.git
+          url: https://github.com/{github_user}/{github_project}.git
           browser: githubweb
-          browser-url: https://github.com/{github_user}/{github_name}
+          browser-url: https://github.com/{github_user}/{github_project}
           branches:
             - origin/{version}
           skip-tag: true
           goals: clean install -Dmaven.test.skip=false
           private-repository: true
           settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4'
-          properties:
-            - maven.test.failure.ignore=true
-            - eclipse.p2.mirrors=false
 
     publishers:
       - archive:
-          artifacts: 'releng/org.lttng.scope.rcp.product/target/repository/**,releng/org.lttng.scope.rcp.product/target/products/*'
+          artifacts: '**/target/*.jar'
           allow-empty: false
           only-if-success: true
       - junit:
               total-high: 0
               total-normal: 0
               total-low: 0
+          messages-to-ignore: |-
+            No sources found skipping Kotlin compile
+            Ignoring project type pom - supportedProjectTypes = \[jar, bundle\]
+            ^Tests run:.*
+            .*Source root doesn't exist.*
+            Could not transfer metadata.*codehaus-snapshots.*
       - workspace-cleanup
       - email-ext:
-          recipients: alex@voxpopuli.im
-          matrix-trigger: only-parent
-#      - ircbot:
-#          strategy: new-failure-and-fixed
-#          matrix-notifier: only-parent
-#          channels:
-#            - name: '#lttng'
+         recipients: '{obj:email_for_all_failure}'
+         always: false
+         unstable: true
+         first-failure: false
+         first-unstable: false
+         not-built: false
+         aborted: false
+         regression: false
+         failure: true
+         second-failure: false
+         improvement: false
+         still-failing: false
+         success: false
+         fixed: false
+         fixed-unhealthy: true
+         still-unstable: false
+         pre-build: false
+         matrix-trigger: only-parent
+         send-to:
+           - recipients
+      - email-ext:
+         recipients: '{obj:email_to}'
+         reply-to: ci-notification@lists.lttng.org
+         always: false
+         unstable: false
+         first-failure: true
+         first-unstable: true
+         not-built: false
+         aborted: false
+         regression: false
+         failure: false
+         second-failure: false
+         improvement: false
+         still-failing: false
+         success: false
+         fixed: false
+         fixed-unhealthy: true
+         still-unstable: false
+         pre-build: false
+         matrix-trigger: only-parent
+         send-to:
+           - recipients
+
 
 
 - job-template:
           goals: clean install -Dmaven.test.skip=false
           private-repository: true
           settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4'
-          properties:
-            - maven.test.failure.ignore=true
-            - eclipse.p2.mirrors=false
 
     publishers:
       - archive:
-          artifacts: 'releng/org.lttng.scope.rcp.product/target/repository/**,releng/org.lttng.scope.rcp.product/target/products/*'
+          artifacts: '**/target/*.jar'
           allow-empty: false
           only-if-success: true
       - junit:
               total-high: 0
               total-normal: 0
               total-low: 0
+          messages-to-ignore: |-
+            No sources found skipping Kotlin compile
+            Ignoring project type pom - supportedProjectTypes = \[jar, bundle\]
+            ^Tests run:.*
+            .*Source root doesn't exist.*
+            Could not transfer metadata.*codehaus-snapshots.*
       - workspace-cleanup
       - email-ext:
-          recipients: alex@voxpopuli.im
-          matrix-trigger: only-parent
-#      - ircbot:
-#          strategy: new-failure-and-fixed
-#          matrix-notifier: only-parent
-#          channels:
-#            - name: '#lttng'
+         recipients: '{obj:email_for_all_failure}'
+         always: false
+         unstable: true
+         first-failure: false
+         first-unstable: false
+         not-built: false
+         aborted: false
+         regression: false
+         failure: true
+         second-failure: false
+         improvement: false
+         still-failing: false
+         success: false
+         fixed: false
+         fixed-unhealthy: true
+         still-unstable: false
+         pre-build: false
+         matrix-trigger: only-parent
+         send-to:
+           - recipients
+      - email-ext:
+         recipients: '{obj:email_to}'
+         reply-to: ci-notification@lists.lttng.org
+         always: false
+         unstable: false
+         first-failure: true
+         first-unstable: true
+         not-built: false
+         aborted: false
+         regression: false
+         failure: false
+         second-failure: false
+         improvement: false
+         still-failing: false
+         success: false
+         fixed: false
+         fixed-unhealthy: true
+         still-unstable: false
+         pre-build: false
+         matrix-trigger: only-parent
+         send-to:
+           - recipients
 
 - job-template:
     name: lttng-scope_{version}_coverity
     defaults: lttng-scope
-    node: 'x86-64'
+    node: 'amd64'
 
     triggers:
       - pollscm:
 
     scm:
       - git:
-          url: git://github.com/{github_user}/{github_name}.git
+          url: https://github.com/{github_user}/{github_project}.git
           browser: githubweb
-          browser-url: https://github.com/{github_user}/{github_name}
+          browser-url: https://github.com/{github_user}/{github_project}
           branches:
             - origin/{version}
           skip-tag: true
 - project:
     name: lttng-scope
     github_user: lttng
-    github_name: lttng-scope
+    github_project: lttng-scope
+    email_to: 'ci-notification@lists.lttng.org, cc:pproulx@efficios.com'
+    email_for_all_failure: 'pproulx@efficios.com'
     version:
       - master
     jobs:
       - 'lttng-scope_{version}_build':
-          arch: !!python/tuple [x86-32, x86-64]
+          arch: !!python/tuple [i386, amd64]
       - 'lttng-scope_{version}_winbuild':
           arch: !!python/tuple [win64]
       - 'lttng-scope_{version}_macosxbuild':
This page took 0.025544 seconds and 4 git commands to generate.