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 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.
37 You can add below persons as reviewers to your patch in order to get it reviewed and submitted.
39 * Ulrich Kleber (Ulrich.Kleber@huawei.com)
40 * Fatih Degirmenci (fatih.degirmenci@ericsson.com)
41 * Xinyu Zhao(Jerry) (zhaoxinyu@huawei.com)
43 Or just email a request for submission to opnfv-helpdesk@rt.linuxfoundation.org
45 The Current merge and verify jobs for jenkins job builder as pulled from the repo::
55 - 'builder-verify-jjb'
61 name: builder-verify-jjb
65 project-type: freestyle
70 artifactDaysToKeep: -1
80 credentials-id: '{ssh-credentials}'
81 refspec: '$GERRIT_REFSPEC'
82 choosing-strategy: 'gerrit'
85 - ssh-agent-credentials:
86 user: '{ssh-credentials}'
91 - patchset-created-event:
92 exclude-drafts: 'false'
93 exclude-trivial-rebase: 'false'
94 exclude-no-code-change: 'false'
95 - draft-published-event
96 - comment-added-contains-event:
97 comment-contains-value: 'recheck'
98 - comment-added-contains-event:
99 comment-contains-value: 'reverify'
101 - project-compare-type: 'ANT'
102 project-pattern: 'releng'
104 - branch-compare-type: 'ANT'
105 branch-pattern: '**/master'
110 pattern: jjb-templates/**
115 !include-raw verify-releng
118 name: 'builder-merge'
122 # builder-merge job to run JJB update
124 # This job's purpose is to update all the JJB
126 project-type: freestyle
131 artifactDaysToKeep: -1
141 - gerrit-trigger-scm:
142 credentials-id: '{ssh-credentials}'
144 choosing-strategy: 'default'
147 - ssh-agent-credentials:
148 user: '{ssh-credentials}'
153 - change-merged-event
154 - comment-added-contains-event:
155 comment-contains-value: 'remerge'
157 - project-compare-type: 'ANT'
158 project-pattern: 'releng'
160 - branch-compare-type: 'ANT'
161 branch-pattern: '**/master'
168 source /opt/virtualenv/jenkins-job-builder/bin/activate
169 cd /opt/jenkins-ci/releng
171 jenkins-jobs update --delete-old jjb/