NaturesAura/azure-pipelines.yml

33 lines
834 B
YAML
Raw Normal View History

# 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
trigger:
- master
pool:
2020-02-07 03:31:20 +01:00
vmImage: 'windows-latest'
variables:
GRADLE_USER_HOME: $(Pipeline.Workspace)/.gradle
steps:
- task: Cache@2
inputs:
key: 'gradle | "$(Agent.OS)"'
path: '$(GRADLE_USER_HOME)'
restoreKeys: 'gradle'
- task: Gradle@2
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
options: '--no-daemon'
2020-02-07 03:14:18 +01:00
gradleOptions: '-Xmx3072m -Dsun.zip.disableMemoryMapping="true"'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkArchitectureOption: 'x64'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
tasks: 'build'