1 .. image:: opnfv-logo.png
7 Creating/Configuring/Verifying Jenkins Jobs
8 ============================================
12 git clone ssh://YOU@gerrit.opnfv.org:29418/releng
18 remote: Resolving deltas: 100% (3/3)
19 remote: Processing changes: new: 1, refs: 1, done
22 remote: https://gerrit.opnfv.org/gerrit/51
24 To ssh://agardner@gerrit.opnfv.org:29418/releng.git
25 * [new branch] HEAD -> refs/publish/master
27 Follow the link to gerrit https://gerrit.opnfv.org/gerrit/51 in a few moments the verify job will have completed and you will see Verified +1 jenkins-ci in the gerrit ui.
29 If the changes pass the verify job https://build.opnfv.org/ci/view/builder/job/builder-verify-jjb/ The patch can be submitited by a committer.
35 * Trigger: **recheck** or **reverify**
39 * Trigger: **remerge**
41 The verify and merge jobs are retriggerable in Gerrit by simply leaving a comment with one of the keywords listed above. This is useful in case you need to re-run one of those jobs in case if build issues or something changed with the environment.
43 You can add below persons as reviewers to your patch in order to get it reviewed and submitted.
45 * fatih.degirmenci@ericsson.com
46 * agardner@linuxfoundation.org
48 * morgan.richomme@orange.com
49 * vlaza@cloudbasesolutions.com
50 * matthew.lijun@huawei.com
52 * jose.lausuch@ericsson.com
53 * koffirodrigue@gmail.com
54 * r-mibu@cq.jp.nec.com
56 Or just email a request for submission to opnfv-helpdesk@rt.linuxfoundation.org
58 The Current merge and verify jobs for jenkins job builder as pulled from the repo::
67 - 'builder-verify-jjb'
73 name: builder-verify-jjb
77 project-type: freestyle
82 artifactDaysToKeep: -1
92 credentials-id: '{ssh-credentials}'
93 refspec: '$GERRIT_REFSPEC'
94 choosing-strategy: 'gerrit'
97 - ssh-agent-credentials:
98 user: '{ssh-credentials}'
103 - patchset-created-event:
104 exclude-drafts: 'false'
105 exclude-trivial-rebase: 'false'
106 exclude-no-code-change: 'false'
107 - draft-published-event
108 - comment-added-contains-event:
109 comment-contains-value: 'recheck'
110 - comment-added-contains-event:
111 comment-contains-value: 'reverify'
113 - project-compare-type: 'ANT'
114 project-pattern: 'releng'
116 - branch-compare-type: 'ANT'
117 branch-pattern: '**/master'
122 pattern: jjb-templates/**
127 !include-raw verify-releng
130 name: 'builder-merge'
134 # builder-merge job to run JJB update
136 # This job's purpose is to update all the JJB
138 project-type: freestyle
143 artifactDaysToKeep: -1
153 - gerrit-trigger-scm:
154 credentials-id: '{ssh-credentials}'
156 choosing-strategy: 'default'
159 - ssh-agent-credentials:
160 user: '{ssh-credentials}'
165 - change-merged-event
166 - comment-added-contains-event:
167 comment-contains-value: 'remerge'
169 - project-compare-type: 'ANT'
170 project-pattern: 'releng'
172 - branch-compare-type: 'ANT'
173 branch-pattern: '**/master'
180 source /opt/virtualenv/jenkins-job-builder/bin/activate
181 cd /opt/jenkins-ci/releng
183 jenkins-jobs update --delete-old jjb/