Merge "Enable sar report collection for global-jjb"
[releng/global-jjb.git] / jjb / lf-macros.yaml
index ee0bc31..bc64719 100644 (file)
       - description-setter:
           regexp: '^Build logs: .*'
 
+- builder:
+    name: lf-infra-sysstat
+    builders:
+      - shell: !include-raw:
+          - ../shell/sysstat.sh
+
 - builder:
     name: lf-jacoco-nojava-workaround
     builders:
               Note that Gerrit will override this parameter automatically if a
               job is triggered by Gerrit.
 
+# Useful parameters when working with TOX
+# https://tox.readthedocs.io/
+- parameter:
+    name: lf-infra-tox-parameters
+    parameters:
+      - string:
+          name: TOX_DIR
+          default: '{tox-dir}'
+          description: |
+              Path to directory containing tox.ini file.
+      - string:
+          name: TOX_ENVS
+          default: '{tox-envs}'
+          description: |
+              Tox environments to run build against.
+              Example: docs,py2,py3
+
 # Set an env var for shell scripts to be able to call the dynamically installed
 # maven without having to calculate the path themselves
 - parameter:
     publishers:
       - postbuildscript:
           builders:
+            - lf-infra-sysstat
             - lf-infra-ship-logs
           script-only-if-succeeded: false
           script-only-if-failed: false