-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
57 lines (49 loc) · 1.55 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
- main
pool:
# vmImage: ubuntu-latest
name: LAPTOP-JTORFD59
steps:
# - task: DownloadSecureFile@1
# inputs:
# secureFile: 'bznoctmdemos.cer'
# - task: CmdLine@2
# inputs:
# script: |
# echo Importando certificado do OC
# certutil -addstore -enterprise -f -v root $(DownloadSecureFile.SecureFilePath)
- task: PowerShell@2
displayName: 'Workflow Analyzer'
inputs:
filePath: '$(Build.SourcesDirectory)\Data\Workflow-Analyzer-CLI-Script.ps1'
arguments: '-ProjectFilePath $(Build.SourcesDirectory)\project.json -OutputFilePath $(Build.SourcesDirectory)\Data\Output'
workingDirectory: '$(Build.SourcesDirectory)'
- task: UiPathTest@2
displayName: 'Testing'
inputs:
testTarget: 'TestProject'
orchestratorConnection: 'azDevOps'
folderName: 'Shared'
- task: UiPathPack@2
displayName: 'Packing'
inputs:
versionType: 'AutoVersion'
projectJsonPath: '$(Build.SourcesDirectory)'
orchestratorConnection: 'azDevOps'
outputPath: '$(Build.ArtifactStagingDirectory)'
- task: UiPathDeploy@2
displayName: 'Deployment'
inputs:
orchestratorConnection: 'azDevOps'
packagesPath: '$(Build.ArtifactStagingDirectory)'
folderName: 'Shared'
entryPoints: 'Main.xaml'
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'drop'
publishLocation: 'Container'