Posts

Showing posts from October, 2020

What is Jenkins Pipeline & Its Best Practices

What is a Jenkins pipeline? A pipeline is a collection of jobs that brings the software from version control into the hands of the end users by using automation tools. It is a feature used to  incorporate continuous delivery  in software development workflow. Pipeline Concepts The below fundamentals are common to both, scripted and declarative pipeline: 1.     Pipeline:  A user-defined block which contains all the stages. It is a key part of declarative pipeline syntax. 2.     Node:  A node is a machine that executes an entire workflow. It is a key part of the scripted pipeline syntax. 3.     Agent:  instructs Jenkins to allocate an executor for the builds. It is defined for an entire pipeline or a specific stage. It has the following parameters: ·        Any : Runs pipeline/ stage on any available agent ·       None : applied at the root of the pipeline, ...

Dotnet Core CLI useful commands

Image
  .NET Core command-line interface (CLI) is a cross-platform toolchain for developing, building, running, and publishing .NET Core applications. It comes handy when using Visual Studio Code (lightweight IDE for developers)  Basic Commands : new - create new item based on template. dotnet new [console|classlib|web|mvc|angular|react|webapi] build - build the solution or project dotnet build clean - clean the output directory of the  project. publish - publish the application and it dependencies to folder for deployment run - start the application or project sln - lists or modify solution file, for e.g. adding or deleting a project  dotnet sln add <project_files> dotnet sln remove <project_files>  test - dotnet test driver to execute unit tests help - to get more detailed information on any command