mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-05 04:49:10 +01:00
ditch azure!
This commit is contained in:
parent
2b1868f7f1
commit
8611787ca4
2 changed files with 1 additions and 40 deletions
|
@ -1,35 +0,0 @@
|
|||
# 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:
|
||||
vmImage: 'windows-latest'
|
||||
|
||||
variables:
|
||||
GRADLE_USER_HOME: $(Pipeline.Workspace)/.gradle
|
||||
BUILD_NUMBER: $(Build.BuildId)
|
||||
|
||||
steps:
|
||||
- task: Cache@2
|
||||
inputs:
|
||||
key: 'gradle | "$(Agent.OS)"'
|
||||
path: '$(GRADLE_USER_HOME)'
|
||||
restoreKeys: 'gradle'
|
||||
- task: Gradle@2
|
||||
env:
|
||||
ACCESS_TOKEN: $(System.AccessToken)
|
||||
inputs:
|
||||
workingDirectory: ''
|
||||
gradleWrapperFile: 'gradlew'
|
||||
options: '--no-daemon --build-cache'
|
||||
gradleOptions: '-Xmx3072m'
|
||||
javaHomeOption: 'JDKVersion'
|
||||
jdkVersionOption: '1.8'
|
||||
jdkArchitectureOption: 'x64'
|
||||
publishJUnitResults: true
|
||||
testResultsFiles: '**/TEST-*.xml'
|
||||
tasks: 'clean build publish'
|
|
@ -155,11 +155,7 @@ publishing {
|
|||
}
|
||||
repositories {
|
||||
maven {
|
||||
url 'https://pkgs.dev.azure.com/Ellpeck/Public/_packaging/All/maven/v1'
|
||||
credentials {
|
||||
username "Azure DevOps Services"
|
||||
password System.getenv('ACCESS_TOKEN')
|
||||
}
|
||||
url "file://" + System.getenv("local_maven")
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue