1 .. image:: ../etc/opnfv-logo.png
10 Creating/Configuring/Verifying Jenkins Jobs
11 ============================================
15 git clone ssh://YOU@gerrit.opnfv.org:29418/releng
21 remote: Resolving deltas: 100% (3/3)
22 remote: Processing changes: new: 1, refs: 1, done
25 remote: https://gerrit.opnfv.org/gerrit/51
27 To ssh://agardner@gerrit.opnfv.org:29418/releng.git
28 * [new branch] HEAD -> refs/publish/master
30 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.
32 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.
38 * Trigger: **recheck** or **reverify**
42 * Trigger: **remerge**
44 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.
46 You can add below persons as reviewers to your patch in order to get it reviewed and submitted.
48 * fatih.degirmenci@ericsson.com
49 * agardner@linuxfoundation.org
51 * morgan.richomme@orange.com
52 * vlaza@cloudbasesolutions.com
53 * matthew.lijun@huawei.com
55 * jose.lausuch@ericsson.com
56 * koffirodrigue@gmail.com
57 * r-mibu@cq.jp.nec.com
59 Or just email a request for submission to opnfv-helpdesk@rt.linuxfoundation.org
61 The Current merge and verify jobs for jenkins job builder as pulled from the repo::
70 - 'builder-verify-jjb'
76 name: builder-verify-jjb
80 project-type: freestyle
85 artifactDaysToKeep: -1
95 credentials-id: '{ssh-credentials}'
96 refspec: '$GERRIT_REFSPEC'
97 choosing-strategy: 'gerrit'
100 - ssh-agent-credentials:
101 user: '{ssh-credentials}'
106 - patchset-created-event:
107 exclude-drafts: 'false'
108 exclude-trivial-rebase: 'false'
109 exclude-no-code-change: 'false'
110 - draft-published-event
111 - comment-added-contains-event:
112 comment-contains-value: 'recheck'
113 - comment-added-contains-event:
114 comment-contains-value: 'reverify'
116 - project-compare-type: 'ANT'
117 project-pattern: 'releng'
119 - branch-compare-type: 'ANT'
120 branch-pattern: '**/master'
125 pattern: jjb-templates/**
130 !include-raw verify-releng
133 name: 'builder-merge'
137 # builder-merge job to run JJB update
139 # This job's purpose is to update all the JJB
141 project-type: freestyle
146 artifactDaysToKeep: -1
156 - gerrit-trigger-scm:
157 credentials-id: '{ssh-credentials}'
159 choosing-strategy: 'default'
162 - ssh-agent-credentials:
163 user: '{ssh-credentials}'
168 - change-merged-event
169 - comment-added-contains-event:
170 comment-contains-value: 'remerge'
172 - project-compare-type: 'ANT'
173 project-pattern: 'releng'
175 - branch-compare-type: 'ANT'
176 branch-pattern: '**/master'
183 source /opt/virtualenv/jenkins-job-builder/bin/activate
184 cd /opt/jenkins-ci/releng
186 jenkins-jobs update --delete-old jjb/