forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding pipeline yaml
- Loading branch information
Showing
1 changed file
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# External variables Settable at queue time: | ||
# "pomFile" : "pom.client.xml". This is the project object model file for Maven. | ||
|
||
variables: | ||
LoggingOptions: '-Dorg.slf4j.simpleLogger.defaultLogLevel=warn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' | ||
|
||
jobs: | ||
- job: 'Compile' | ||
|
||
pool: | ||
vmImage: 'ubuntu-16.04' | ||
|
||
strategy: | ||
matrix: | ||
Java 8: | ||
ArtifactName: 'packages' | ||
JavaVersion: '1.8' | ||
steps: | ||
- task: Maven@3 | ||
displayName: 'Install code quality tools' | ||
inputs: | ||
mavenPomFile: './eng/code-quality-reports/pom.xml' | ||
goals: 'install' | ||
options: '-Dmaven.test.skip=true' | ||
publishJUnitResults: false | ||
javaHomeOption: 'JDKVersion' | ||
jdkVersionOption: $(JavaVersion) | ||
jdkArchitectureOption: 'x64' | ||
mavenVersionOption: 'Default' | ||
|
||
- task: Maven@3 | ||
displayName: 'Install Azure Core' | ||
inputs: | ||
mavenPomFile: './sdk/core/azure-core/pom.xml' | ||
goals: 'install' | ||
options: '-Dmaven.test.skip=true -Dgpg.skip' | ||
publishJUnitResults: false | ||
javaHomeOption: 'JDKVersion' | ||
jdkVersionOption: $(JavaVersion) | ||
jdkArchitectureOption: 'x64' | ||
mavenVersionOption: 'Default' | ||
|
||
- task: Maven@3 | ||
displayName: 'Compile' | ||
inputs: | ||
mavenPomFile: ./search/data-plane/data/pom.xml | ||
goals: 'package' | ||
mavenOptions: '$(LoggingOptions)' | ||
javaHomeOption: 'JDKVersion' | ||
jdkVersionOption: $(JavaVersion) | ||
jdkArchitectureOption: 'x64' | ||
publishJUnitResults: false |