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-recursive: true
51 gerrit-skip-vote: false
53 gerrit_verify_triggers:
54 - comment-added-contains-event:
55 comment-contains-value: '^Patch Set[ ]+[0-9]+:([ ]+|[\n]+)(vote)$'
56 - comment-added-event:
57 approval-category: 'CRVW'
60 approval-category: 'Code-Review'
67 disabled: '{disable-job}'
71 jenkins-ssh-credential: '{jenkins-ssh-credential}'
76 <<: *lf_info_vote_common
77 # yamllint disable-line rule:key-duplicates
78 <<: *lf_info_vote_verify
81 - lf-infra-gerrit-scm:
82 branch: '$GERRIT_BRANCH'
83 jenkins-ssh-credential: '{jenkins-ssh-credential}'
85 refspec: '$GERRIT_REFSPEC'
86 submodule-recursive: '{submodule-recursive}'
87 submodule-timeout: '{submodule-timeout}'
88 choosing-strategy: gerrit
92 server-name: '{gerrit-server-name}'
93 trigger-on: '{obj:gerrit_verify_triggers}'
95 - project-compare-type: 'REG_EXP'
98 - branch-compare-type: 'ANT'
99 branch-pattern: '**/master'
100 file-paths: '{obj:gerrit_trigger_file_paths}'
102 successful: '{gerrit-skip-vote}'
103 failed: '{gerrit-skip-vote}'
104 unstable: '{gerrit-skip-vote}'
105 notbuilt: '{gerrit-skip-vote}'