mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 07:45:49 +00:00
Removed: Publish artifacts steps for testing
This commit is contained in:
parent
49b5d92275
commit
0925d196e8
1 changed files with 15 additions and 15 deletions
|
@ -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'
|
||||
|
Loading…
Reference in a new issue