henriq-toledo / jenkins-sample

Jenkins sample pipeline, showing the configuration of IIS and the Jenkins pipeline.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jenkins-sample

Jenkins sample pipeline

Prerequirements

Install Jenkins on Windows:

Publish .NET Core 3.1

Run .NET Core 3.1 on IIS:

IIS Configuration

Create web app folder in wwwroot folder

Create web app folder in wwwroot folder

Convert to application on IIS

Convert to application on IIS

Convert to application - configuration

Edit the permissions

Edit the permissions

Give full control to IIS_IUSRS

Give full control to IIS_IUSRS

Give full control to IIS_IUSRS

Add the IUSR user

Add the IUSR user

Give full control to IUSR

Give full control to IUSR

Jenkins Configuration

Click on New Item

Click on New Item

Create the Pipeline

Create the Pipeline

Click on Configure

Click on Configure

Paste the Pipeline Script, click on Apply and then Save

Paste the Pipeline Script

Click on Build Now to start

Build running on Jenkins

Build finished

Build finished

Application deployed

Application deployed

Also is possible to use the Jenkinsfile

Using Jenkinsfile

About

Jenkins sample pipeline, showing the configuration of IIS and the Jenkins pipeline.

License:MIT License


Languages

Language:C# 36.1%Language:HTML 31.9%Language:Groovy 18.7%Language:CSS 11.4%Language:JavaScript 1.9%