Skip to content

Commit

Permalink
Tweaking the Java Cosmos CTL pipeline yml (Azure#12933)
Browse files Browse the repository at this point in the history
* adding goal to the maven build command

* update job

* add -am switch to maven command line
  • Loading branch information
JimSuplizio authored Jul 9, 2020
1 parent 1007365 commit e896387
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions sdk/cosmos/azure-cosmos-benchmark/ctl-image-build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
jobs:
- job: Cosmos CTL
- job: Cosmos_CTL
timeoutInMinutes: 20
variables:
- template: /eng/pipelines/templates/variables/globals.yml
Expand All @@ -18,10 +18,13 @@ jobs:
displayName: 'Build Cosmos and Benchmark'
inputs:
mavenPomFile: pom.xml
goals: 'package'
# The -Ppackage-assembly profile packages up both libraries into one package
options: '$(DefaultOptions) -Ppackage-assembly -DskipTests -Dgpg.skip -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Dspotbugs.skip=true -Drevapi.skip=true -pl com.azure:azure-cosmos,com.azure:azure-cosmos-benchmark -am'
javaHomeOption: 'JDKVersion'
jdkVersionOption: $(JavaBuildVersion)
jdkArchitectureOption: 'x64'
# The -Ppackage-assembly profile packages up both libraries into one package
options: '$(DefaultOptions) -Ppackage-assembly -DskipTests -Dgpg.skip -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Dspotbugs.skip=true -Drevapi.skip=true -pl com.azure:azure-cosmos,com.azure:azure-cosmos-benchmark'
publishJUnitResults: false

- task: CopyFiles@2
displayName: 'Copy benchmark jar'
Expand Down

0 comments on commit e896387

Please sign in to comment.