Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new file added #3486

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .githooks/new
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#hello new file added
42 changes: 42 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# ASP.NET Core
# Build and test ASP.NET Core projects targeting .NET Core.
# Add steps that run tests, create a NuGet package, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core

trigger:
- main

pool:
vmImage: ubuntu-latest

variables:
buildConfiguration: 'Release'

steps:
- task
- task: DotNetCoreCLI@2
inputs:
command: 'restore'
projects: '**/*.csproj'
displayname: 'Restore nuget package'
- task: DotNetCoreCLI@2
inputs:
command: 'build'
projects: '**/*.csproj'
arguments: '--no-restore'
displayname:'Build project'

- task: DotNetCoreCLI@2
inputs:
command: 'test'
projects: '**/*Test.csproj'
displayName: 'run Tests'

- task: DotNetCoreCLI@2
inputs:
command: 'publish'
publishWebProjects: false
project: '**/customerApi.csproj'
arguments: '--configuration $(buildconfiguration) --no-restore'
modifyOutputPath: false
displayName: 'publish customer API'