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 .. note:: You can also test the jobs under a single jjb directory by
35 specifying the directory. For example to test only the releng jobs, you
38 tox -v -e jjb -- jjb/releng
40 Submit the change to gerrit::
44 Follow the link given in the stdoutput to gerrit eg:
45 ``https://gerrit.opnfv.org/gerrit/<CHANGE_ID>`` the verify job will
46 have completed and you will see Verified +1 jenkins-ci in the gerrit ui.
48 If the changes pass the verify job
49 https://build.opnfv.org/ci/job/releng-verify-jjb/ ,
50 the patch can be submitited by a committer.
56 * Trigger: **recheck** or **reverify**
60 * Trigger: **remerge**
64 * Trigger: **check-experimental**
66 The verify and merge jobs are retriggerable in Gerrit by simply leaving
67 a comment with one of the keywords listed above.
68 This is useful in case you need to re-run one of those jobs in case
69 if build issues or something changed with the environment.
71 The experimental jobs are not triggered automatically. You need to leave
72 a comment with the keyword list above to trigger it manually. It is useful
73 for trying out experimental features.
75 Note that, experimental jobs `skip vote`_ for verified status, which means
76 it will reset the verified status to 0. If you want to keep the verified
77 status, use **recheck-experimental** in commit message to trigger both
78 verify and experimental jobs.
80 You can look in the releng/INFO file for a list of current committers to
81 add as reviewers to your patch in order to get it reviewed and
84 Or Add the group releng-contributors
86 Or just email a request for review to helpdesk@opnfv.org
88 The Current merge and verify jobs for jenkins job builder can be found
89 in `releng-jobs.yaml`_.
92 https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=blob;f=jjb/releng-jobs.yaml;
94 https://wiki.jenkins-ci.org/display/JENKINS/Gerrit+Trigger#GerritTrigger-SkipVote