- inject:
properties-file: $WORKSPACE/.dependency.properties
+- builder:
+ name: lf-license-check
+ builders:
+ - inject:
+ properties-content: |
+ FILE_PATTERNS={file-patterns}
+ SPDX_DISABLE={spdx-disable}
+ LHC_VERSION={lhc-version}
+ LICENSE_EXCLUDE_PATHS={license-exclude-paths}
+ LICENSES_ALLOWED={licenses-allowed}
+ - shell: !include-raw-escape:
+ - ../shell/license-check.sh
+
- builder:
name: lf-infra-create-netrc
builders:
builders:
- inject:
properties-content: |
- PROJECT='{project}'
- GERRIT_COMMIT_MESSAGE='{gerrit-commit-message}'
- GERRIT_HOST='{gerrit-host}'
- GERRIT_TOPIC='{gerrit-topic}'
- GERRIT_USER='{gerrit-user}'
- REVIEWERS_EMAIL='{reviewers-email}'
+ PROJECT={project}
+ GERRIT_COMMIT_MESSAGE={gerrit-commit-message}
+ GERRIT_HOST={gerrit-host}
+ GERRIT_TOPIC={gerrit-topic}
+ GERRIT_USER={gerrit-user}
+ REVIEWERS_EMAIL={reviewers-email}
- shell: !include-raw-escape: ../shell/gerrit-push-patch.sh
- builder:
# PARAMETERS #
##############
+- parameter:
+ name: lf-clm-parameters
+ parameters:
+ - string:
+ name: NEXUS_IQ_STAGE
+ default: '{nexus-iq-stage}'
+ description: |
+ Stage the policy evaluation will be run against on the Nexus IQ Server.
+
+- parameter:
+ name: lf-cmake-parameters
+ # Parameters useful in CMake builds.
+ parameters:
+ - string:
+ name: BUILD_DIR
+ default: '{build-dir}'
+ description: 'Directory to build the project in.'
+ - string:
+ name: CMAKE_OPTS
+ default: '{cmake-opts}'
+ description: |
+ Options to pass to CMAKE.
+ Example: -DCMAKE_INSTALL_PREFIX=$WORKSPACE/target/output
+ - string:
+ name: INSTALL_PREFIX
+ default: '{install-prefix}'
+ description: 'Install prefix for C/C++ builds. Example: /usr/local'
+ - string:
+ name: MAKE_OPTS
+ default: '{make-opts}'
+ description: 'Options to pass to make. Example: -j8'
+
- parameter:
name: lf-infra-maven-parameters
parameters:
recursive: '{submodule-recursive}'
choosing-strategy: '{choosing-strategy}'
-############
-# TRIGGERS #
-############
-
-- trigger:
- name: lf-infra-github-pr-trigger
- triggers:
- - github-pull-request:
- trigger-phrase: '{trigger-phrase}'
- only-trigger-phrase: '{only-trigger-phrase}'
- status-context: '{status-context}'
- permit-all: '{permit-all}'
- github-hooks: '{github-hooks}'
- auto-close-on-fail: false
- org-list:
- - '{github-org}'
- white-list: '{obj:github_pr_whitelist}'
- admin-list: '{obj:github_pr_admin_list}'
-
############
# WRAPPERS #
############