Step-by-step Guide To Creating The Ultimate Partsunlimited Project With Azure Devops

Published: 12 September 2024
on channel: CloudSoldier
161
10

In this video, we walk you through the complete process of setting up and managing the PartsUnlimited project using Azure DevOps.

Learn how to streamline your software development pipeline with key Azure DevOps tools, including repository management, continuous integration, and deployment. Whether you're a beginner or experienced with Azure, this step-by-step guide will help you understand best practices for building and deploying the PartsUnlimited application seamlessly.

🔍 In this tutorial, you'll discover:
How to set up the PartsUnlimited project in Azure DevOps.
Managing source control with Git and Azure Repos.
Building CI/CD pipelines for smooth deployment.
Key tips for automating workflows and improving team productivity.
🔧 Tools Used:

Azure DevOps
Git Repositories
CI/CD Pipelines

Yamlpipeline - Please configure accordingly
trigger:
master

stages:
stage: Build
jobs:
job: Build
pool:
vmImage: 'windows-2019'
variables:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
steps:
task: NuGetToolInstaller@0
task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'
Creating the build
task: VSBuild@1
inputs:
solution: '$(solution)'
msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactStagingDirectory)"'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'

Publishing the artifact

task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'drop'
publishLocation: 'Container'


stage: Deploy
jobs:
job: Deploy
pool:
vmImage: 'windows-2019'
steps:
Below task is to download build artifact and artificat name is
drop
Dowloading the artifact
task: DownloadBuildArtifacts@1
inputs:
buildType: 'current'
downloadType: 'single'
artifactName: 'drop'
downloadPath: '$(System.ArtifactsDirectory)'
task: AzureRmWebAppDeployment@4
inputs:
ConnectionType: 'AzureRM'
azureSubscription: 'mysc'
appType: 'webApp'
WebAppName: 'kashiapp'
packageForLinux: '$(System.ArtifactsDirectory)/drop/*.zip'

After downloading the artificat it will be deployed to the webapp
#This task is the deploy webapp deployment

deploying this code to webapp so we will search for task in show assistant


Watch video Step-by-step Guide To Creating The Ultimate Partsunlimited Project With Azure Devops online without registration, duration hours minute second in high quality. This video was added by user CloudSoldier 12 September 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 161 once and liked it 10 people.