From 0925d196e8e54a65678181e69a6ca105f86836c8 Mon Sep 17 00:00:00 2001 From: James Flynn Date: Mon, 1 Mar 2021 19:27:44 +0000 Subject: [PATCH] Removed: Publish artifacts steps for testing --- azure-pipelines.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1ca7835c0..481f56c7d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -29,23 +29,23 @@ jobs: testResultsFiles: '**/TEST-*.xml' goals: 'package' - - task: CopyFiles@2 - displayName: 'Copy Files to artifact staging directory' - inputs: - SourceFolder: '$(System.DefaultWorkingDirectory)' - Contents: '**/target/*.?(war|jar)' - TargetFolder: $(Build.ArtifactStagingDirectory) - preserveTimestamp: true + #- task: CopyFiles@2 + # displayName: 'Copy Files to artifact staging directory' + # inputs: + # SourceFolder: '$(System.DefaultWorkingDirectory)' + # Contents: '**/target/*.?(war|jar)' + # TargetFolder: $(Build.ArtifactStagingDirectory) + # preserveTimestamp: true # Publish build artifacts to Azure Pipelines. Extension uses Robocopy "under the hood." # https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/publish-build-artifacts?view=azure-devops - - task: PublishBuildArtifacts@1 - inputs: - pathToPublish: '$(Build.ArtifactStagingDirectory)/target' - artifactName: 'jar-artifact' - publishLocation: 'Container' # Publishes inside Azure Pipelines artifact folder. - parallel: true # Increased speed through multi-threaded copying. - parallelCount: 8 # Dependent upon CPU capabilities. + #- task: PublishBuildArtifacts@1 + # inputs: + # pathToPublish: '$(Build.ArtifactStagingDirectory)/target' + # artifactName: 'jar-artifact' + # publishLocation: 'Container' # Publishes inside Azure Pipelines artifact folder. + # parallel: true # Increased speed through multi-threaded copying. + # parallelCount: 8 # Dependent upon CPU capabilities. - job: DeployWebApp steps: @@ -54,5 +54,5 @@ jobs: azureSubscription: 'azure-svc-connection' appType: webAppLinux appName: 'james-pet-clinic' - package: '$(System.DefaultWorkingDirectory)/**/*.jar' + package: '$(System.DefaultWorkingDirectory)/target/*.jar' \ No newline at end of file