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: 'CRVW'
61 approval-category: 'Code-Review'
68 disabled: '{disable-job}'
72 jenkins-ssh-credential: '{jenkins-ssh-credential}'
77 <<: *lf_info_vote_common
78 # yamllint disable-line rule:key-duplicates
79 <<: *lf_info_vote_verify
82 - lf-infra-gerrit-scm:
83 branch: '$GERRIT_BRANCH'
84 jenkins-ssh-credential: '{jenkins-ssh-credential}'
86 refspec: '$GERRIT_REFSPEC'
87 submodule-recursive: '{submodule-recursive}'
88 submodule-timeout: '{submodule-timeout}'
89 submodule-disable: '{submodule-disable}'
90 choosing-strategy: gerrit
94 server-name: '{gerrit-server-name}'
95 trigger-on: '{obj:gerrit_verify_triggers}'
97 - project-compare-type: 'ANT'
100 - branch-compare-type: 'ANT'
101 branch-pattern: '**/master'
102 file-paths: '{obj:gerrit_trigger_file_paths}'
104 successful: '{gerrit-skip-vote}'
105 failed: '{gerrit-skip-vote}'
106 unstable: '{gerrit-skip-vote}'
107 notbuilt: '{gerrit-skip-vote}'