Followers

Azure Release Pipeline

  Below are the steps to create the first Release pipeline in Azure DevOps 1. Develop the code(I am using DotNetCore Web App) which you want...

 Below are the steps to create the first Release pipeline in Azure DevOps

1. Develop the code(I am using DotNetCore Web App) which you want to make a part of the release pipeline.

2. Create Azure Repository.

3. Add Azure Repository into your code's Git Remote Settings.

4. Create Azure Pipeline with the below code. 

# ASP.NET Core (.NET Framework)
# Build and test ASP.NET Core projects targeting the full .NET Framework.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core

trigger:
master

pool:
  vmImage'windows-latest'

variables:
  solution'**/*.sln'
  buildPlatform'Any CPU'
  buildConfiguration'Release'

steps:
taskNuGetToolInstaller@1

taskNuGetCommand@2
  inputs:
    restoreSolution'$(solution)'


taskDotNetCoreCLI@2
  inputs:
    command'build'
    projects'**/*.csproj'
    arguments'--configuration $(buildConfiguration)'

taskDotNetCoreCLI@2
  inputs:
    command'publish'
    publishWebProjectstrue
    arguments'--configuration $(buildConfiguration) --output $(Build.ArtifactStagingDirectory)'
taskPublishPipelineArtifact@1
  inputs:
    targetPath'$(Build.ArtifactStagingDirectory)'  
    artifactName'myapp-artifact'

5. Save and Run the pipeline.

6. Create a Web app service 

7. Create a Release pipeline and select the Empty Job template.



8. Create a task and create an agent job for the WebApp service and assign the webapp which you created.

9. In the artifact add the artifact as Build and point to the Azure pipeline.

10. Create the release and after successful execution you can access web application on web app URL.


COMMENTS

Name

Ansible,6,AWS,1,Azure DevOps,1,Containerization with docker,2,DevOps,2,Docker Quiz,1,Docker Swarm,1,DockerCompose,1,ELK,2,git,2,git quiz,1,Git Worksheet,1,ITIL,1,ITSM,1,Jira,3,Kubernetes,1,Kubernetes Quiz,5,SAST DAST Security Testing,1,SDLC Quiz,5,SonarQube,3,Splunk,2,vagrant kubernetes,1,Windows,1,YAML Basics,1,
ltr
item
DevOpsWorld: Azure Release Pipeline
Azure Release Pipeline
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEtGNIgsKVZfIECa7snu7Zxwl9YCoQzprK6vKsjBr3Hj0gET8xQxtJDZa6-RTHKRTUhUCnvw4xeswMSGDNu1lH_SpSfhnq6aFcJuFpQx8V26OcVPwC7RvIDVg7MYxpRKzC5dm9gtcNB4SAXohAKF2IyuUfZzM3Xj3I8eN6Flsd4GEkreoCBuV5Be81/w453-h51/pic.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEtGNIgsKVZfIECa7snu7Zxwl9YCoQzprK6vKsjBr3Hj0gET8xQxtJDZa6-RTHKRTUhUCnvw4xeswMSGDNu1lH_SpSfhnq6aFcJuFpQx8V26OcVPwC7RvIDVg7MYxpRKzC5dm9gtcNB4SAXohAKF2IyuUfZzM3Xj3I8eN6Flsd4GEkreoCBuV5Be81/s72-w453-c-h51/pic.jpg
DevOpsWorld
https://www.devopsworld.co.in/2022/10/azure-release-pipeline.html
https://www.devopsworld.co.in/
https://www.devopsworld.co.in/
https://www.devopsworld.co.in/2022/10/azure-release-pipeline.html
true
5997357714110665304
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content