Add project files.
This commit is contained in:
		
							
								
								
									
										57
									
								
								.pipelines/templated-pipeline.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										57
									
								
								.pipelines/templated-pipeline.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,57 @@ | ||||
| pool: | ||||
|   vmImage: 'windows-latest' | ||||
|  | ||||
| trigger: | ||||
|   branches: | ||||
|     include: | ||||
|       - release/* | ||||
|       - feature/* | ||||
|       - hotfix/* | ||||
|       - bugfix/* | ||||
|       - development | ||||
|  | ||||
| variables: | ||||
|   project: 'Core.Cerberos.Service.API/Core.Cerberos.Service.API.csproj' | ||||
|   solution: 'Core.Cerberos.Service.API.sln' | ||||
|   buildConfiguration: 'Release' | ||||
|   artifactName: 'drop' | ||||
|   snykConnectionEndpoint: 'SnykConnection' | ||||
|   projectNameOnSonar: 'Core.Cerberos.Service.API' | ||||
|   projectKeyOnSonar:  'heathpbu_Core.Cerberos.Service.API' | ||||
|   feed: '1b3770f1-17db-4bf2-a43d-49f305aa7a22' | ||||
|   projectFileName: 'Core.Cerberos.Service.API.csproj' | ||||
|   projectPath: 'Core.Cerberos.Service.API/' | ||||
|  | ||||
| resources: | ||||
|   repositories: | ||||
|     - repository: templates | ||||
|       name: "Template.DevOps.Pipelines" | ||||
|       type: "git" | ||||
|       project: "SharedLibs" | ||||
|  | ||||
| jobs: | ||||
| - job: CI | ||||
|   steps: | ||||
|   - template: templates/dotnet/v1/step1_setup.yml@templates | ||||
|   - template: templates/dotnet/v1/step2_versioning.yml@templates | ||||
|     parameters: | ||||
|       projectFileName: '$(projectFileName)' | ||||
|       path: '$(projectPath)' | ||||
|   - template: templates/dotnet/v1/step3_restore_and_build.yml@templates | ||||
|     parameters: | ||||
|       project: '$(project)' | ||||
|       solution: '$(solution)' | ||||
|       buildConfiguration: '$(buildConfiguration)' | ||||
|       projectNameOnSonar: '$(projectNameOnSonar)' | ||||
|       projectKeyOnSonar: '$(projectKeyOnSonar)' | ||||
|       feed: '$(feed)' | ||||
|  | ||||
|   - template: templates/dotnet/v1/step5_snyk_analysis.yml@templates | ||||
|     parameters: | ||||
|       snykConnectionEndpoint: '$(snykConnectionEndpoint)' | ||||
|       solutionToScan: '$(solution)' | ||||
|  | ||||
|   - template: templates/dotnet/v1/step6_release.yml@templates | ||||
|     parameters: | ||||
|       artifactName: '$(artifactName)' | ||||
|       project: '$(project)' | ||||
		Reference in New Issue
	
	Block a user
	 Sergio Matias Urquin
					Sergio Matias Urquin