Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page describes the steps required to integrate your own Lab Jenkins system with the Linux Foundation's hosted Jenkins for ONAP ("LF Jenkins") at https://jenkins.onap.org/view/External%20Labs/.  The end result is to allow the job results executed on your lab Jenkins server to be pushed out to LF Jenkins for archival and analysis.


High Level Flow

The Lab Jenkins (i.e. your own) will schedule the jobs, collect the logs locally, and push them out to a log server website that's publicly readable.  As an example, see http://12.234.32.117/logs/job/windriver-beijing-oom-deploy/79/.

...

Additional files can be placed in the same directory and they will be fetched and archived by LF Jenkins.

Integration Steps

  1. Determine what your lab name should be.  Example: "windriver".
  2. Create a LF ID for your lab Jenkins user.  As a convention, the LF ID should be onap-ci-{lab-name}.  Example: "onap-ci-windriver".
  3. Send email to LF helpdesk@onap.org to inform them of this account and request them to grant this account the right permissions for External Job integration.
  4. Set up your Lab Jenkins jobs to deploy its log files to a publicly log server website as specified in he previous section.
  5. Define the External Jobs you want to post results to in LF Jenkins.  This is done by submitting changes to ONAP ci-management repo.  Example: "lab-windriver-beijing-heat-deploy".  
  6. Add a post-build step to your Lab Jenkins to trigger the job on 

Triggering the LF Jenkins External Job