Skip to content

Commit

Permalink
Artifact segregation (#10490)
Browse files Browse the repository at this point in the history
* Do a deployment into the staging directory to segregate artifacts.

* Add skips for checkstyle, spotbugs and rev API since we now do deploy during build.
  • Loading branch information
mitchdenny authored Apr 28, 2020
1 parent fee767d commit d000de3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eng/pipelines/templates/jobs/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ jobs:
displayName: 'Build and Package'
inputs:
mavenPomFile: pom.xml
goals: 'package'
options: '$(DefaultOptions) "-DpackageOutputDirectory=$(Build.ArtifactStagingDirectory)" -DskipTests -Dinject-codesnippets -Dgenerate-overview -pl $(ProjectList) -am' # We include template-module so we ensure it always builds in CI
goals: 'deploy'
options: '$(DefaultOptions) -DskipTests -Dinject-codesnippets -Dgenerate-overview -Dspotbugs.skip=true -Dcheckstyle.skip=true -Drevapi.skip=true -pl $(ProjectList) -am -DaltDeploymentRepository=id::default::file://$(Build.ArtifactStagingDirectory)' # We include template-module so we ensure it always builds in CI
mavenOptions: '$(MemoryOptions) $(LoggingOptions)'
javaHomeOption: 'JDKVersion'
jdkVersionOption: $(JavaVersion)
Expand Down

0 comments on commit d000de3

Please sign in to comment.