Skip to content

pull #1

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

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
8af547b
Set up CI with Azure Pipelines
vinayakkorti Jun 8, 2020
7815d15
Update azure-pipelines.yml for Azure Pipelines
vinayakkorti Jun 8, 2020
3b55b50
Create createfile.bat
vinayakkorti Jun 8, 2020
c6bb9a3
Update azure-pipelines.yml for Azure Pipelines
vinayakkorti Jun 8, 2020
ea9281a
Update azure-pipelines.yml for Azure Pipelines
vinayakkorti Jun 8, 2020
be8db0b
Update azure-pipelines.yml for Azure Pipelines
vinayakkorti Jun 8, 2020
a0ac31e
Update azure-pipelines.yml for Azure Pipelines
vinayakkorti Jun 8, 2020
2f96c0e
Create README.md
vinayakkorti Jun 8, 2020
56a24f6
Update azure-pipelines.yml for Azure Pipelines
vinayakkorti Jun 8, 2020
7a43d1e
Update azure-pipelines.yml for Azure Pipelines
vinayakkorti Jun 10, 2020
2c15c24
Update azure-pipelines.yml for Azure Pipelines
vinayakkorti Jun 10, 2020
4c5a975
Update azure-pipelines.yml for Azure Pipelines
vinayakkorti Jun 10, 2020
e5280ec
Update azure-pipelines.yml for Azure Pipelines
vinayakkorti Jun 10, 2020
e280727
Update azure-pipelines.yml for Azure Pipelines
vinayakkorti Jun 15, 2020
a201f11
Update azure-pipelines.yml for Azure Pipelines
vinayakkorti Jun 15, 2020
cc47eb8
Update azure-pipelines.yml for Azure Pipelines
vinayakkorti Jun 15, 2020
c2b6e9d
Set up CI with Azure Pipelines
vinayakkorti Jun 15, 2020
bb6f5a3
Update azure-pipelines-1.yml for Azure Pipelines
vinayakkorti Jun 17, 2020
b2ddf84
Update azure-pipelines-1.yml for Azure Pipelines
vinayakkorti Jun 17, 2020
450b037
Update azure-pipelines-1.yml for Azure Pipelines
vinayakkorti Jun 17, 2020
9ef2797
Update azure-pipelines-1.yml for Azure Pipelines
vinayakkorti Jun 17, 2020
0cb56a6
Update azure-pipelines-1.yml for Azure Pipelines
vinayakkorti Jun 17, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# net-sample
46 changes: 46 additions & 0 deletions azure-pipelines-1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# .NET Desktop
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net

trigger:
- master

pool:
'My_local_host_agent'

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

steps:
- task: NuGetToolInstaller@1

- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'

- task: VSBuild@1
inputs:
solution: '$(solution)'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'

- task: VSTest@2
inputs:
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'

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

- task: DownloadBuildArtifacts@0
inputs:
buildType: 'current'
downloadType: 'single'
artifactName: 'test'
downloadPath: '$(System.ArtifactsDirectory)'
60 changes: 60 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# .NET Desktop
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net

trigger:
- master

pool:
'My_local_host_agent'

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

steps:
- task: NuGetToolInstaller@1

- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'

- task: VSBuild@1
inputs:
solution: '$(solution)'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'

- task: VSTest@2
inputs:
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'

- task: BatchScript@1
inputs:
filename: 'createfile.bat'

- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(Build.BinariesDirectory)'
includeRootFolder: true
archiveType: 'zip'
archiveFile: '$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip'
replaceExistingArchive: true

- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Pipeline.Workspace)'
artifact: '.netapp'
publishLocation: 'pipeline'

- task: DownloadBuildArtifacts@0
inputs:
buildType: 'current'
downloadType: 'single'
artifactName: '.netapp'
downloadPath: '$(System.ArtifactsDirectory)'


2 changes: 2 additions & 0 deletions createfile.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@echo off
echo "Hello">C:\new.txt