6 - lf_info_vote_common: &lf_info_vote_common
7 name: lf-info-vote-common
9 gerrit_trigger_file_paths:
10 - compare-type: REG_EXP
17 project-type: freestyle
21 - lf-infra-properties:
25 - lf-infra-parameters:
26 project: $GERRIT_PROJECT
28 refspec: 'refs/heads/{branch}'
33 build-timeout: '{build-timeout}'
34 jenkins-ssh-credential: '{jenkins-ssh-credential}'
40 - lf_info_vote_verify: &lf_info_vote_verify
41 name: lf-info-vote-verify
48 git-url: '$GIT_URL/$PROJECT'
50 submodule-disable: false
51 submodule-recursive: true
52 gerrit-skip-vote: false
54 gerrit_verify_triggers:
55 - comment-added-contains-event:
56 comment-contains-value: '^Patch Set\s+\d+:\s+vote\s*$'
57 - comment-added-event:
58 approval-category: 'Code-Review'
65 disabled: '{disable-job}'
69 jenkins-ssh-credential: '{jenkins-ssh-credential}'
74 <<: *lf_info_vote_common
75 # yamllint disable-line rule:key-duplicates
76 <<: *lf_info_vote_verify
79 - lf-infra-gerrit-scm:
80 branch: '$GERRIT_BRANCH'
81 jenkins-ssh-credential: '{jenkins-ssh-credential}'
83 refspec: '$GERRIT_REFSPEC'
84 submodule-recursive: '{submodule-recursive}'
85 submodule-timeout: '{submodule-timeout}'
86 submodule-disable: '{submodule-disable}'
87 choosing-strategy: gerrit
91 server-name: '{gerrit-server-name}'
92 trigger-on: '{obj:gerrit_verify_triggers}'
94 - project-compare-type: 'ANT'
97 - branch-compare-type: 'ANT'
98 branch-pattern: '**/master'
99 file-paths: '{obj:gerrit_trigger_file_paths}'
101 successful: '{gerrit-skip-vote}'
102 failed: '{gerrit-skip-vote}'
103 unstable: '{gerrit-skip-vote}'
104 notbuilt: '{gerrit-skip-vote}'