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 lftools-version: '{lftools-version}'
52 - lf-infra-node-parameters:
53 node-dir: '{node-dir}'
54 node-version: '{node-version}'
58 build-timeout: '{build-timeout}'
59 jenkins-ssh-credential: '{jenkins-ssh-credential}'
62 - shell: !include-raw-escape:
63 - ../shell/node-install.sh
64 - ../shell/node-run.sh
70 name: '{project-name}-node-verify-{stream}'
71 id: gerrit-node-verify
74 ######################
75 # Default parameters #
76 ######################
78 gerrit_verify_triggers:
79 - patchset-created-event:
81 exclude-trivial-rebase: false
82 exclude-no-code-change: false
83 - draft-published-event
84 - comment-added-contains-event:
85 comment-contains-value: '^Patch Set[ ]+[0-9]+:([ ]+|[\n]+)(recheck|reverify)$'
92 - lf-infra-gerrit-scm:
93 jenkins-ssh-credential: '{jenkins-ssh-credential}'
95 refspec: '$GERRIT_REFSPEC'
96 branch: 'origin/$GERRIT_BRANCH'
97 submodule-recursive: '{submodule-recursive}'
98 submodule-timeout: '{submodule-timeout}'
99 choosing-strategy: gerrit
103 server-name: '{gerrit-server-name}'
104 trigger-on: '{obj:gerrit_verify_triggers}'
106 - project-compare-type: ANT
107 project-pattern: '{project}'
109 - branch-compare-type: ANT
110 branch-pattern: '**/{branch}'
111 file-paths: '{obj:gerrit_trigger_file_paths}'
114 name: '{project-name}-node-verify-{stream}'
115 id: github-node-verify
119 - lf-infra-properties:
120 build-days-to-keep: '{build-days-to-keep}'
122 url: '{github-url}/{github-org}/{project}'
125 - lf-infra-github-scm:
126 url: '{git-clone-url}{github-org}/{project}'
127 refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
129 submodule-recursive: '{submodule-recursive}'
130 submodule-timeout: '{submodule-timeout}'
131 choosing-strategy: default
132 jenkins-ssh-credential: '{jenkins-ssh-credential}'
135 - github-pull-request:
136 trigger-phrase: '^(recheck|reverify)$'
137 only-trigger-phrase: false
138 status-context: 'Node Verify'
141 included-regions: '{obj:github_included_regions}'
142 white-list-target-branches: