Skip to content

This project used to support some examples of jenkinsfile for pipeline builds, in .NET Core. Currently this project contains several example of using the pipeline for dotnet core

License

Notifications You must be signed in to change notification settings

avrum/JenkinsFileFor.NETCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins File (Groovy) For .NETCore

This project used to support some examples of jenkinsfile for pipline builds, in .NETCore. Currently this project contains several example of using the pipeline for dotnet core

  • Pull code, Build & Run Unittest - for a specific branch
  • Pull code, Build & Run Unittest - for merging two branches

Features In "Jenkinsfile_Build_On_Commit"

  • You should use this pipeline for every commit in a branch.
  • Clean up your workstation + checkout your branch.
  • Notifying your bitbucket server that the build stated + complete.
  • Building you .NET core solution.
  • Running all your unittest.
  • Publishing the unittest result to Jenkins.
  • Failing the build if a unittest is broken.

Features In "Jenkinsfile_Build_On_Merge"

  • You should use this pipeline for every pull request.
  • Clean up your workstation + checkout your master brnach + merging your current branch.
  • Notifying your bitbucket server that the build stated + complete.
  • Building you .NET core solution.
  • Running all your unittest.
  • Publishing the unittest result to Jenkins.
  • Failing the build if a unittest is broken.
  • Sending email with the build status (in a defined template) to list of predefined people.

Those pipline jenkinsfile will add this pipline template to your build:

Example Jenkins Pipeline|Solid



If you found this repository to be helpful, you can say "thank you" by clicking the "Star" button. Thanks :) Start Github|Solid



"Sharing Is Caring" Please Contact Me For Merge Requests

Would appriciate if other developers and dev-ops will contribute this this project.

About

This project used to support some examples of jenkinsfile for pipeline builds, in .NET Core. Currently this project contains several example of using the pipeline for dotnet core

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published