-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
33 lines (31 loc) · 938 Bytes
/
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
# Salt Pipeline
trigger:
branches:
include:
- '*'
pool:
vmImage: 'ubuntu-latest'
jobs:
- job: Test_Salt_Default
displayName: "Test_Salt_Default"
steps:
- task: Gradle@2
displayName: "Initialize tests"
inputs:
gradleWrapperFile: '$(Build.SourcesDirectory)/gradlew'
workingDirectory: '$(Build.SourcesDirectory)/'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkArchitectureOption: 'x64'
publishJUnitResults: false
tasks: 'initTests'
- task: Gradle@2
displayName: "Run tests for default Salt configuration"
inputs:
gradleWrapperFile: '$(Build.SourcesDirectory)/tests/default/gradlew'
workingDirectory: '$(Build.SourcesDirectory)/tests/default/'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkArchitectureOption: 'x64'
publishJUnitResults: false
tasks: 'test'