-
Notifications
You must be signed in to change notification settings - Fork 53
/
azure-pipelines.yaml
46 lines (38 loc) · 1.04 KB
/
azure-pipelines.yaml
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
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
steps:
- task: sfpwowerscript-installsfdx-task@6
inputs:
isTelemetryEnabled: true
- task: sfpwowerscript-authenticateorg-task@8
inputs:
method: 'Credentials'
username: '$(SalesforceUsername)'
password: '$(SalesforcePassword)'
securitytoken: '$(SalesforceSecurityToken)'
alias: 'AzureDevOpsScratchOrg'
isdevhub: true
isTelemetryEnabled: true
- task: sfpowerscript-deploysourcetoorg-task@7
inputs:
target_org: 'AzureDevOpsScratchOrg'
project_directory: './'
source_directory: 'force-app'
checkonly: false
wait_time: '20'
testlevel: 'NoTestRun'
isToBreakBuildIfEmpty: true
isTelemetryEnabled: true
- task: sfpwowerscript-triggerapextest-task@6
inputs:
target_org: 'AzureDevOpsScratchOrg'
testlevel: 'RunAllTestsInOrg'
wait_time: '60'
isTelemetryEnabled: true
- task: sfpwowerscript-validateapextestcoverage-task@3
inputs:
target_org: 'AzureDevOpsScratchOrg'
test_coverage: '75'
isTelemetryEnabled: true