Skip to content

ragmani/netcore-jenkins

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

netcore-jenkins

Daily Release Infra

Tizen Daily Release Infra Structure

This is a seed job using jobs/generation/RootGenerator.groovy file.

Required parameter:

Generated the following items:

  • generator » poll
  • release » core-setup_master_armel_Release
  • release » core-setup_release_2.0.0_armel_Release
  • release » coreclr_master_armel_Release
  • release » coreclr_release_2.0.0_armel_Release
  • release » corefx_master_armel_Release
  • release » corefx_release_2.0.0_armel_Release
  1. Clone the 'dotnet/versions' repository every 10 minutes
  2. Compare the saved version and latest version

If version updated

  1. Download that version of package from dotnet-core myget
    • coreclr - Microsoft.NETCore.Runtime.CoreCLR
    • corefx - Microsoft.Private.CoreFx.NETCoreApp
    • core-setup - Microsoft.NETCore.App
  2. Get sha1 value from the package
  3. Keep the latest version and sha1 value
  4. Trigger each job
  1. Clone project git repository
  2. Clone netcore-jenkins git repository
  3. Build project code
  4. Upload result packages to NUGET_FEED
  5. Archive artifacts

Official Release Infra

This is a seed job using jobs/generation/ReleaseGenerator.groovy file.

Required parameter:

Generated the following items:

  • generator » official_poll
  • official-release » core-setup_armel
  • official-release » coreclr_armel
  • official-release » corefx_armel

Required parameter:

  • coreclr_version
  • coreclr_minor_version
  • corefx_version
  • corefx_minor_version
  • core_setup_version
  • core_setup_minor_version
  • patch_version

The project_version is an official build version like 1.0.0 and 2.0.0. The project_minor_version is an optionary build version like preview2-25407-01. The above version information can be found at nuget.org after Microsoft releases the official version. You can refer to the Microsoft.NETCore.Runtime.CoreCLR package for coreclr, the Microsoft.NETCore.Platforms package for corefx, and the Microsoft.NETCore.App package for core-setup. The patch_version is a version for managing patches that need to be reflected in relation to Tizen after Microsoft fixes the code for release. Such a version is managed by tag in Samsung github coreclr and corefx. The jobs/scripts/generate_patch.sh script can be used to create a patch file that needs to be reflected. If you put the generated file in the patches directory of current project and specify patch_version with the same name, it will build the code after applying the patch at the time of build.

  1. Download that version of package from nuget.org
    • coreclr - Microsoft.NETCore.Runtime.CoreCLR
    • corefx - Microsoft.NETCore.Platforms
    • core-setup - Microsoft.NETCore.App
  2. Get sha1 value from the package
  3. Trigger each job
  1. Clone project git repository
  2. Clone netcore-jenkins git repository
  3. Apply patch if a patch to apply exists
  4. Build project code
  5. Upload result packages to NUGET_FEED
  6. Archive artifacts

The list of packages that require official release

For .NETCore App

  • runtime.tizen.4.0.0-armel.Microsoft.NETCore.App
  • runtime.tizen.4.0.0-armel.Microsoft.NETCore.DotNetHost
  • runtime.tizen.4.0.0-armel.Microsoft.NETCore.DotNetHostPolicy
  • runtime.tizen.4.0.0-armel.Microsoft.NETCore.DotNetHostResolver
  • runtime.tizen.4.0.0-armel.Microsoft.NETCore.DotNetAppHost

For CoreCLR Native

  • runtime.tizen.4.0.0-armel.Microsoft.NETCore.Jit
  • runtime.tizen.4.0.0-armel.Microsoft.NETCore.TestHost
  • runtime.tizen.4.0.0-armel.Microsoft.NETCore.ILAsm
  • runtime.tizen.4.0.0-armel.Microsoft.NETCore.ILDAsm
  • runtime.tizen.4.0.0-armel.Microsoft.NETCore.Native
  • runtime.tizen.4.0.0-armel.Microsoft.NETCore.Runtime.CoreCLR

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Groovy 58.3%
  • Shell 39.0%
  • Batchfile 2.7%