Skip to content
This repository has been archived by the owner on Nov 20, 2019. It is now read-only.

Latest commit

 

History

History
43 lines (41 loc) · 3.32 KB

CI-ONBOARDING.md

File metadata and controls

43 lines (41 loc) · 3.32 KB

Onboarding onto .NET CI

Below contains information on how to onboard your project onto Jenkins.

  1. Send a PR to dotnet-ci adding your repo to data\repolist.txt. The server (dotnet-ci, dotnet-ci2 or dotnet-ci3) is specified in the line. Typically dotnet-ci is used,
  2. Ensure your repo is accessible by @dotnet-bot and @mmitche.
  3. Configure web hooks for the CI. You need two entries:
  1. Similarly private repos on VSTS also need two entries:
  • A VSTS webhook for push events - Go into the repo settings, click "Service Hooks", then click "Create a new subscription..." ("+" icon)
    • Service: Jenkins, then click "Next"
  • A VSTS webhook for PR events - Go into the repo settings, click "Service Hooks", then click "Create a new subscription..." ("+" icon)
    • Service: Jenkins, then click "Next"
  1. Create a file called netci.groovy in root of your repo in the target branch (this could also be named something different based on the line in the repolist.txt file).
  2. Write your CI definition
  1. PR the netci.groovy file, /cc @dotnet/dnceng for review and comment "test ci please" to the PR thread.
  2. Once the test generation completes, you may examine the jobs for correctness by clicking on the Details link of the job.