Skip to content

Commit

Permalink
Creating build pipeline (Azure#11)
Browse files Browse the repository at this point in the history
Adding pipeline yaml
  • Loading branch information
rabee333 authored Aug 7, 2019
1 parent 7046178 commit 2236da7
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions search/data-plane/data/client.yml
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

0 comments on commit 2236da7

Please sign in to comment.