diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f3554480c8e848b3b0803e943d70b71075568c22..36bd0f664139ff8946ecadafe698fb61f035c604 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -21,11 +21,23 @@ steps: displayName: 'build, test, code coverage' inputs: mavenPomFile: 'pom.xml' - options: '--settings ./indexer-service-root/maven/settings.xml -DVSTS_FEED_TOKEN=$(VSTS_FEED_TOKEN)' + options: '--settings ./indexer-service-root/maven/settings.xml -DVSTS_FEED_TOKEN=$(VSTS_FEED_TOKEN) -P root,gcp,azure' #testResultsFiles: '**/*/TEST-*.xml' #codeCoverageToolOption: JaCoCo goals: 'install' +- task: CopyFiles@2 + displayName: 'Copy GCP artifacts to: $(build.artifactstagingdirectory)' + inputs: + SourceFolder: + Contents: | + indexer-service-gcp/target/*-spring-boot.jar + indexer-service-gcp/src/main/appengine/app.yaml + indexer-service-gcp/src/main/resources/application.properties + indexer-service-gcp/scripts/deploy.sh + TargetFolder: '$(build.artifactstagingdirectory)' + flattenFolders: true + - task: CopyFiles@2 displayName: 'Copy Azure artifacts for maven deploy to: $(build.artifactstagingdirectory)' inputs: