Merge "Add templates for CXX projects using autotools"
[releng/global-jjb.git] / jjb / lf-macros.yaml
index bf0b3fa..0db15aa 100644 (file)
@@ -74,6 +74,7 @@
           condition-kind: regex-match
           regex: "^.*logs-s3.*"
           label: $S3_BUCKET
+          on-evaluation-failure: dont-run
           steps:
             - config-file-provider:
                 files:
@@ -94,7 +95,7 @@
       - shell: !include-raw:
           - ../shell/logs-clear-credentials.sh
       - description-setter:
-          regexp: "^Build logs: .*"
+          regexp: "(^(Nexus|S3) build logs: .*)"
 
 - builder:
     name: lf-infra-package-listing
 # PARAMETERS #
 ##############
 
+- parameter:
+    name: lf-autotools-parameters
+    # Parameters for configure-make builds.
+    parameters:
+      - string:
+          name: CONFIGURE_OPTS
+          default: "{configure-opts}"
+          description: |
+            Options to pass to configure.
+            Example: --build=i686-pc-linux-gnu
+      - string:
+          name: INSTALL_PREFIX
+          default: "{install-prefix}"
+          description: |
+            Install prefix for configure.
+            Usually a workspace subdirectory.
+      - string:
+          name: MAKE_OPTS
+          default: "{make-opts}"
+          description: |
+            Options to pass to make.
+            Example: -j8 all
+
 - parameter:
     name: lf-clm-parameters
     parameters: