---
-- job-group:
- name: '{project-name}-github-node-jobs'
-
- # Job group containing recommended jobs to deploy for a Node Project.
-
- node-version: 6.11.4
-
- jobs:
- - github-node-verify
-
-- job-group:
- name: '{project-name}-node-jobs'
-
- # Job group containing recommended jobs to deploy for a Node Project.
-
- node-version: 6.11.4
-
- jobs:
- - gerrit-node-verify
###############
# Node Verify #
branch: master
build-days-to-keep: 7
build-timeout: 10
+ disable-job: false
git-url: '$GIT_URL/$GERRIT_PROJECT'
+ github-url: 'https://github.com'
node-dir: ''
stream: master
submodule-recursive: true
+ submodule-timeout: 10
gerrit_trigger_file_paths:
- compare-type: REG_EXP
project-type: freestyle
node: '{build-node}'
concurrent: true
+ disabled: '{disable-job}'
properties:
- lf-infra-properties:
project: '{project}'
branch: '{branch}'
stream: '{stream}'
- lftools-version: '{lftools-version}'
- lf-infra-node-parameters:
node-dir: '{node-dir}'
node-version: '{node-version}'
refspec: '$GERRIT_REFSPEC'
branch: 'origin/$GERRIT_BRANCH'
submodule-recursive: '{submodule-recursive}'
+ submodule-timeout: '{submodule-timeout}'
choosing-strategy: gerrit
triggers:
<<: *lf_node_verify
properties:
+ - lf-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
- github:
- url: '{git-url}/{github-org}/{project}'
+ url: '{github-url}/{github-org}/{project}'
scm:
- lf-infra-github-scm:
refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
branch: '$sha1'
submodule-recursive: '{submodule-recursive}'
+ submodule-timeout: '{submodule-timeout}'
choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'
permit-all: true
github-hooks: true
included-regions: '{obj:github_included_regions}'
+ white-list-target-branches:
+ - '{branch}'