jjb: logrotate is deprecated
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 22 Jun 2016 17:58:25 +0000 (13:58 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Wed, 22 Jun 2016 17:58:25 +0000 (13:58 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
jobs/babeltrace.yaml
jobs/liburcu.yaml
jobs/lttng-analyses.yaml
jobs/lttng-modules.yaml
jobs/lttng-tools.yaml
jobs/lttng-ust.yaml
jobs/ops_job-generator_kernel.yaml
jobs/tracecompass.yml

index b445b1ef259dc2d2a095718a4478c6beacc4979e..97a26825ccc9a4df7fa2d45c57b75d80a934e2f6 100644 (file)
@@ -14,9 +14,6 @@
 
     project-type: freestyle
 
-    logrotate:
-        numToKeep: 2
-
     wrappers:
       - workspace-cleanup
       - timestamps
@@ -37,6 +34,8 @@
           cron: "@hourly"
 
     properties:
+      - build-discarder:
+          num-to-keep: 2
       - github:
           url: https://github.com/{github_user}/{github_name}
 
index aebd6809aae2c150dd588d4c02dda948b83ddf29..1ee7ffe3ff1713b09cb40684c0329a0b503c4f25 100644 (file)
@@ -27,9 +27,6 @@
 
     project-type: freestyle
 
-    logrotate:
-        numToKeep: 2
-
     wrappers:
       - workspace-cleanup
       - timestamps
@@ -50,6 +47,8 @@
           cron: "@hourly"
 
     properties:
+      - build-discarder:
+          num-to-keep: 2
       - github:
           url: https://github.com/{github_user}/{github_name}
 
index 39f57f59cbfbe026413962e851fa4cb2911ca4b9..2bb45ed9f0e8b7d32a6725f2e4bfd4b7e3a7709e 100644 (file)
@@ -7,12 +7,6 @@
 
     project-type: freestyle
 
-    logrotate:
-        daysToKeep: -1
-        numToKeep: 2
-        artifactDaysToKeep: -1
-        artifactNumToKeep: -1
-
     wrappers:
       - workspace-cleanup
       - timestamps
@@ -33,6 +27,8 @@
           cron: "@hourly"
 
     properties:
+      - build-discarder:
+          num-to-keep: 2
       - github:
           url: https://github.com/{github_user}/{github_name}
 
index 32d4013937648c8dac5fe5d7279bafc73d3f17a7..1b0c8fe6b7fa1ce63e920e0fa64ec7e9c0512dc6 100644 (file)
@@ -9,9 +9,6 @@
 
     project-type: freestyle
 
-    logrotate:
-        numToKeep: 2
-
     wrappers:
       - workspace-cleanup
       - timestamps
@@ -34,6 +31,8 @@
           cron: "@hourly"
 
     properties:
+      - build-discarder:
+          num-to-keep: 2
       - github:
           url: https://github.com/{github_user}/{github_name}
 
           description: 'The linux kernel git repository url.'
 
     concurrent: true
-    logrotate:
-      daysToKeep: 2
 
     scm:
       - git:
index cc15677d0692e3d89aca4e6a5c5ec68ce4a0c4d9..c0caa8e42111c07ec5ee5a081d736a61e1b2e55f 100644 (file)
 
     project-type: freestyle
 
-    logrotate:
-        daysToKeep: -1
-        numToKeep: 2
-        artifactDaysToKeep: -1
-        artifactNumToKeep: -1
-
     wrappers:
       - workspace-cleanup
       - timestamps
@@ -36,6 +30,8 @@
     properties:
       - github:
           url: https://github.com/{github_user}/{github_name}
+      - build-discarder:
+          num-to-keep: 2
 
 
 ## Templates
          values: '{obj:build}'
 
     properties:
+      - github:
+          url: https://github.com/{github_user}/{github_name}
+      - build-discarder:
+          num-to-keep: 2
       - throttle:
           max-per-node: 1
           option: 'category'
@@ -75,6 +75,7 @@
             - 'lttng-tools'
           matrix-builds: false
           matrix-configs: true
+
     triggers:
       - pollscm:
           cron: "@hourly"
index f30982a7400715362c821ab593b0e8c2eadcf4ef..b90d27c3ef22a15dc637574e4638f2eaf57f3e34 100644 (file)
@@ -10,9 +10,6 @@
 
     project-type: freestyle
 
-    logrotate:
-        numToKeep: 2
-
     wrappers:
       - workspace-cleanup
       - timestamps
@@ -32,6 +29,8 @@
           cron: "@hourly"
 
     properties:
+      - build-discarder:
+          num-to-keep: 2
       - github:
           url: https://github.com/{github_user}/{github_name}
 
           cron: "@daily"
 
     properties:
+      - build-discarder:
+          num-to-keep: 2
       - github:
           url: https://github.com/lttng/lttng-ust-java-tests
 
index 61064c51a8b416e278604cfcde8e85e84bf8afe1..e4ed8ca75822900c6c892021c5e164fcceeff41c 100644 (file)
@@ -9,8 +9,10 @@
       <p>Job is managed by Jenkins Job Builder.</p>
 
     project-type: freestyle
-    logrotate:
-      numToKeep: 2
+
+    properties:
+      - build-discarder:
+          num-to-keep: 2
 
     wrappers:
       - timestamps
index 3630e05e09748a9c13a31054b0530f77bee80ac2..f9c049a98ed6eed039be4d45b4775e579de9c2ad 100644 (file)
@@ -7,9 +7,6 @@
 
     project-type: freestyle
 
-    logrotate:
-        numToKeep: 2
-
     wrappers:
       - workspace-cleanup
       - timestamps
@@ -28,6 +25,8 @@
           cron: "@hourly"
 
     properties:
+      - build-discarder:
+          num-to-keep: 2
       - github:
           url: https://github.com/{github_user}/{github_name}
 
This page took 0.027269 seconds and 4 git commands to generate.