1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. SPDX-License-Identifier: CC-BY-4.0
3 .. (c) Open Platform for NFV Project, Inc. and its contributors
7 ===========================================
8 Creating/Configuring/Verifying Jenkins Jobs
9 ===========================================
11 Clone and setup the repo::
13 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/<CHANGE_ID>
27 To ssh://YOU@gerrit.opnfv.org:29418/releng.git
28 * [new branch] HEAD -> refs/publish/master
34 Submit the change to gerrit::
38 Follow the link given in the stdoutput to gerrit eg:
39 ``https://gerrit.opnfv.org/gerrit/<CHANGE_ID>`` the verify job will
40 have completed and you will see Verified +1 jenkins-ci in the gerrit ui.
42 If the changes pass the verify job
43 https://build.opnfv.org/ci/job/releng-verify-jjb/ ,
44 the patch can be submitited by a committer.
50 * Trigger: **recheck** or **reverify**
54 * Trigger: **remerge**
58 * Trigger: **check-experimental**
60 The verify and merge jobs are retriggerable in Gerrit by simply leaving
61 a comment with one of the keywords listed above.
62 This is useful in case you need to re-run one of those jobs in case
63 if build issues or something changed with the environment.
65 The experimental jobs are not triggered automatically. You need to leave
66 a comment with the keyword list above to trigger it manually. It is useful
67 for trying out experimental features.
69 Note that, experimental jobs `skip vote`_ for verified status, which means
70 it will reset the verified status to 0. If you want to keep the verified
71 status, use **recheck-experimental** in commit message to trigger both
72 verify and experimental jobs.
74 You can look in the releng/INFO file for a list of current committers to
75 add as reviewers to your patch in order to get it reviewed and
78 Or Add the group releng-contributors
80 Or just email a request for review to helpdesk@opnfv.org
82 The Current merge and verify jobs for jenkins job builder can be found
83 in `releng-jobs.yaml`_.
86 https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=blob;f=jjb/releng-jobs.yaml;
88 https://wiki.jenkins-ci.org/display/JENKINS/Gerrit+Trigger#GerritTrigger-SkipVote