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**
32 * Trigger: **remerge**
34 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.
36 You can add below persons as reviewers to your patch in order to get it reviewed and submitted.
38 * Ulrich Kleber (Ulrich.Kleber@huawei.com)
39 * Fatih Degirmenci (fatih.degirmenci@ericsson.com)
40 * Xinyu Zhao(Jerry) (zhaoxinyu@huawei.com)
42 Or just email a request for submission to opnfv-helpdesk@rt.linuxfoundation.org
44 The Current merge and verify jobs for jenkins job builder as pulled from the repo::
49 - 'builder-verify-jjb'
55 name: builder-verify-jjb
57 project-type: freestyle
62 artifactDaysToKeep: -1
72 credentials-id: '{ssh-credentials}'
73 refspec: '$GERRIT_REFSPEC'
74 choosing-strategy: 'gerrit'
77 - ssh-agent-credentials:
78 user: '{ssh-credentials}'
83 - patchset-created-event:
84 exclude-drafts: 'false'
85 exclude-trivial-rebase: 'false'
86 exclude-no-code-change: 'false'
87 - draft-published-event
88 - comment-added-contains-event:
89 comment-contains-value: 'recheck'
90 - comment-added-contains-event:
91 comment-contains-value: 'reverify'
93 - project-compare-type: 'ANT'
94 project-pattern: 'releng'
96 - branch-compare-type: 'ANT'
97 branch-pattern: '**/master'
102 pattern: jjb-templates/**
107 source /opt/virtualenv/jenkins-job-builder/bin/activate
108 jenkins-jobs test /opt/jenkins-ci/builder/
111 name: 'builder-merge'
113 # builder-merge job to run JJB update
115 # This job's purpose is to update all the JJB
117 project-type: freestyle
122 artifactDaysToKeep: -1
132 - gerrit-trigger-scm:
133 credentials-id: '{ssh-credentials}'
135 choosing-strategy: 'default'
138 - ssh-agent-credentials:
139 user: '{ssh-credentials}'
144 - change-merged-event
145 - comment-added-contains-event:
146 comment-contains-value: 'remerge'
148 - project-compare-type: 'ANT'
149 project-pattern: 'releng'
151 - branch-compare-type: 'ANT'
152 branch-pattern: '**/master'
159 source /opt/virtualenv/jenkins-job-builder/bin/activate
160 cd /opt/jenkins-ci/releng
162 jenkins-jobs update --delete-old jjb/
166 **Documentation tracking**