generated from Team488/FRCRobotTemplate
-
Notifications
You must be signed in to change notification settings - Fork 45
/
azure-pipelines.yml
35 lines (33 loc) · 1.06 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
# Gradle
# Build your Java project and run tests with Gradle using a Gradle wrapper script.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/java
resources:
repositories:
- repository: self
checkoutOptions:
submodules: true
jobs:
- job: Windows_64_Bit
pool:
vmImage: 'windows-latest'
steps:
- task: JavaToolInstaller@0
inputs:
versionSpec: '17'
jdkArchitectureOption: 'x64'
jdkSourceOption: 'PreInstalled'
- task: Gradle@2
inputs:
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
publishJUnitResults: false
# testResultsFiles: '**/TEST-*.xml'
tasks: 'build --stacktrace --info -x test'
# checkStyleRunAnalysis: true
# pmdRunAnalysis: true
- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: 'JaCoCo'
summaryFileLocation: 'build/reports/jacoco/test/jacocoTestReport.xml'
reportDirectory: 'build/reports/jacoco/test/html'