From aec00582cb8c3dcd270345713b5bb19574ba7af5 Mon Sep 17 00:00:00 2001 From: Mitch Denny Date: Tue, 28 Apr 2020 15:02:10 +1000 Subject: [PATCH] Artifact segregation (#10490) * 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. --- eng/pipelines/templates/jobs/archetype-sdk-client.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/pipelines/templates/jobs/archetype-sdk-client.yml b/eng/pipelines/templates/jobs/archetype-sdk-client.yml index 0f07a7137b539..142afedbb4ae6 100644 --- a/eng/pipelines/templates/jobs/archetype-sdk-client.yml +++ b/eng/pipelines/templates/jobs/archetype-sdk-client.yml @@ -108,8 +108,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)