Overview
Jobs in ONAP are not configured through the Jenkins UI, but rather through Jenkins Job Builder. That helps to have all the configuration of the projects under Source Control (Configuring Jenkins).
Jenkins UI can be used to monitor the Jobs status and access the log files.
To understand how to create and configure Jenkins job, look at what has been documented for OpenDayLight at Jenkins.
Every OPEN-O project is expected to setup their project to inherit from the ONAP ci-management artifacts.
Get your project visible into Jenkins
To get your jobs to appear in the ONAP Jenkins-master silo, create a <project>.yaml file in the ci-management project’s jjb directory.
Code Block | ||||
---|---|---|---|---|
| ||||
git clone https://gerrit.onap.org/r/ci-management cd ci-management mkdir jjb/<new-project> .... Then edit jjb/<project>/<project>.yaml file Commit your changes into Gerrit |
Example:
This is a very simple example to create an entry for VNF-SDK into Jenkins, by editing ci-management /jjb/vnf-sdk-design-pkg/vnf-sdk-design-pkg.yaml file.
If you have any questions on how to configure <project>.yaml file, email your questions to the onap-discuss@lists.onap.org mailing list or the helpdesk by using this email address helpdesk@onap.org.