1 Creating/Configuring/Verifying Jenkins Jobs
2 ============================================
6 git clone ssh://YOU@gerrit.opnfv.org:29418/releng
12 remote: Resolving deltas: 100% (3/3)
13 remote: Processing changes: new: 1, refs: 1, done
16 remote: https://gerrit.opnfv.org/gerrit/51
18 To ssh://agardner@gerrit.opnfv.org:29418/releng.git
19 * [new branch] HEAD -> refs/publish/master
21 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.
23 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.
29 * Trigger: **recheck** or **reverify**
33 * Trigger: **remerge**
35 The verify and merge jobs are retriggerable in Gerrit by simply leaving a comment
36 with one of the keywords listed above.
37 This is useful in case you need to re-run one of those jobs in case if build issues or
38 something changed with the environment.
40 You can add below persons as reviewers to your patch in order to get it reviewed and submitted.
42 * Ulrich Kleber (Ulrich.Kleber@huawei.com)
43 * Fatih Degirmenci (fatih.degirmenci@ericsson.com)
44 * Xinyu Zhao(Jerry) (zhaoxinyu@huawei.com)
46 Or just email a request for submission to opnfv-helpdesk@rt.linuxfoundation.org
48 The Current merge and verify jobs for jenkins job builder as pulled from the repo::
53 - 'builder-verify-jjb'
59 name: builder-verify-jjb
61 project-type: freestyle
66 artifactDaysToKeep: -1
76 credentials-id: '{ssh-credentials}'
77 refspec: '$GERRIT_REFSPEC'
78 choosing-strategy: 'gerrit'
81 - ssh-agent-credentials:
82 user: '{ssh-credentials}'
87 - patchset-created-event:
88 exclude-drafts: 'false'
89 exclude-trivial-rebase: 'false'
90 exclude-no-code-change: 'false'
91 - draft-published-event
92 - comment-added-contains-event:
93 comment-contains-value: 'recheck'
94 - comment-added-contains-event:
95 comment-contains-value: 'reverify'
97 - project-compare-type: 'ANT'
98 project-pattern: 'releng'
100 - branch-compare-type: 'ANT'
101 branch-pattern: '**/master'
106 pattern: jjb-templates/**
111 source /opt/virtualenv/jenkins-job-builder/bin/activate
112 jenkins-jobs test /opt/jenkins-ci/builder/
115 name: 'builder-merge'
117 # builder-merge job to run JJB update
119 # This job's purpose is to update all the JJB
121 project-type: freestyle
126 artifactDaysToKeep: -1
136 - gerrit-trigger-scm:
137 credentials-id: '{ssh-credentials}'
139 choosing-strategy: 'default'
142 - ssh-agent-credentials:
143 user: '{ssh-credentials}'
148 - change-merged-event
149 - comment-added-contains-event:
150 comment-contains-value: 'remerge'
152 - project-compare-type: 'ANT'
153 project-pattern: 'releng'
155 - branch-compare-type: 'ANT'
156 branch-pattern: '**/master'
163 source /opt/virtualenv/jenkins-job-builder/bin/activate
164 cd /opt/jenkins-ci/releng
166 jenkins-jobs update --delete-old jjb/
170 **Documentation tracking**