7 - lf_node_verify: &lf_node_verify
10 ######################
11 # Default parameters #
12 ######################
18 git-url: '$GIT_URL/$GERRIT_PROJECT'
19 github-url: 'https://github.com'
22 submodule-recursive: true
25 gerrit_trigger_file_paths:
26 - compare-type: REG_EXP
29 # github_included_regions MUST match gerrit_trigger_file_paths
30 github_included_regions:
37 project-type: freestyle
40 disabled: '{disable-job}'
43 - lf-infra-properties:
44 build-days-to-keep: '{build-days-to-keep}'
47 - lf-infra-parameters:
51 - lf-infra-node-parameters:
52 node-dir: '{node-dir}'
53 node-version: '{node-version}'
57 build-timeout: '{build-timeout}'
58 jenkins-ssh-credential: '{jenkins-ssh-credential}'
61 - shell: !include-raw-escape:
62 - ../shell/node-install.sh
63 - ../shell/node-run.sh
69 name: '{project-name}-node-verify-{stream}'
70 id: gerrit-node-verify
73 ######################
74 # Default parameters #
75 ######################
77 gerrit_verify_triggers:
78 - patchset-created-event:
80 exclude-trivial-rebase: false
81 exclude-no-code-change: false
82 - draft-published-event
83 - comment-added-contains-event:
84 comment-contains-value: '^Patch Set[ ]+[0-9]+:([ ]+|[\n]+)(recheck|reverify)$'
91 - lf-infra-gerrit-scm:
92 jenkins-ssh-credential: '{jenkins-ssh-credential}'
94 refspec: '$GERRIT_REFSPEC'
95 branch: 'origin/$GERRIT_BRANCH'
96 submodule-recursive: '{submodule-recursive}'
97 submodule-timeout: '{submodule-timeout}'
98 choosing-strategy: gerrit
102 server-name: '{gerrit-server-name}'
103 trigger-on: '{obj:gerrit_verify_triggers}'
105 - project-compare-type: ANT
106 project-pattern: '{project}'
108 - branch-compare-type: ANT
109 branch-pattern: '**/{branch}'
110 file-paths: '{obj:gerrit_trigger_file_paths}'
113 name: '{project-name}-node-verify-{stream}'
114 id: github-node-verify
118 - lf-infra-properties:
119 build-days-to-keep: '{build-days-to-keep}'
121 url: '{github-url}/{github-org}/{project}'
124 - lf-infra-github-scm:
125 url: '{git-clone-url}{github-org}/{project}'
126 refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
128 submodule-recursive: '{submodule-recursive}'
129 submodule-timeout: '{submodule-timeout}'
130 choosing-strategy: default
131 jenkins-ssh-credential: '{jenkins-ssh-credential}'
134 - github-pull-request:
135 trigger-phrase: '^(recheck|reverify)$'
136 only-trigger-phrase: false
137 status-context: 'Node Verify'
140 included-regions: '{obj:github_included_regions}'
141 white-list-target-branches: