1 ===========================================
2 Creating/Configuring/Verifying Jenkins Jobs
3 ===========================================
7 git clone ssh://YOU@gerrit.opnfv.org:29418/releng
13 remote: Resolving deltas: 100% (3/3)
14 remote: Processing changes: new: 1, refs: 1, done
17 remote: https://gerrit.opnfv.org/gerrit/51
19 To ssh://agardner@gerrit.opnfv.org:29418/releng.git
20 * [new branch] HEAD -> refs/publish/master
22 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.
24 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.
30 * Trigger: **recheck** or **reverify**
34 * Trigger: **remerge**
36 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.
38 You can add below persons as reviewers to your patch in order to get it reviewed and submitted.
40 * fatih.degirmenci@ericsson.com
41 * agardner@linuxfoundation.org
43 * morgan.richomme@orange.com
44 * vlaza@cloudbasesolutions.com
45 * matthew.lijun@huawei.com
47 * jose.lausuch@ericsson.com
48 * koffirodrigue@gmail.com
49 * r-mibu@cq.jp.nec.com
51 Or just email a request for submission to opnfv-helpdesk@rt.linuxfoundation.org
53 The Current merge and verify jobs for jenkins job builder as pulled from the repo::
62 - 'builder-verify-jjb'
68 name: builder-verify-jjb
72 project-type: freestyle
77 artifactDaysToKeep: -1
87 credentials-id: '{ssh-credentials}'
88 refspec: '$GERRIT_REFSPEC'
89 choosing-strategy: 'gerrit'
92 - ssh-agent-credentials:
93 user: '{ssh-credentials}'
98 - patchset-created-event:
99 exclude-drafts: 'false'
100 exclude-trivial-rebase: 'false'
101 exclude-no-code-change: 'false'
102 - draft-published-event
103 - comment-added-contains-event:
104 comment-contains-value: 'recheck'
105 - comment-added-contains-event:
106 comment-contains-value: 'reverify'
108 - project-compare-type: 'ANT'
109 project-pattern: 'releng'
111 - branch-compare-type: 'ANT'
112 branch-pattern: '**/master'
117 pattern: jjb-templates/**
122 !include-raw verify-releng
125 name: 'builder-merge'
129 # builder-merge job to run JJB update
131 # This job's purpose is to update all the JJB
133 project-type: freestyle
138 artifactDaysToKeep: -1
148 - gerrit-trigger-scm:
149 credentials-id: '{ssh-credentials}'
151 choosing-strategy: 'default'
154 - ssh-agent-credentials:
155 user: '{ssh-credentials}'
160 - change-merged-event
161 - comment-added-contains-event:
162 comment-contains-value: 'remerge'
164 - project-compare-type: 'ANT'
165 project-pattern: 'releng'
167 - branch-compare-type: 'ANT'
168 branch-pattern: '**/master'
175 source /opt/virtualenv/jenkins-job-builder/bin/activate
176 cd /opt/jenkins-ci/releng
178 jenkins-jobs update --delete-old jjb/