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'
|
testResultsFiles: '**/TEST-*.xml'
|
||||||
goals: 'package'
|
goals: 'package'
|
||||||
|
|
||||||
- task: CopyFiles@2
|
#- task: CopyFiles@2
|
||||||
displayName: 'Copy Files to artifact staging directory'
|
# displayName: 'Copy Files to artifact staging directory'
|
||||||
inputs:
|
# inputs:
|
||||||
SourceFolder: '$(System.DefaultWorkingDirectory)'
|
# SourceFolder: '$(System.DefaultWorkingDirectory)'
|
||||||
Contents: '**/target/*.?(war|jar)'
|
# Contents: '**/target/*.?(war|jar)'
|
||||||
TargetFolder: $(Build.ArtifactStagingDirectory)
|
# TargetFolder: $(Build.ArtifactStagingDirectory)
|
||||||
preserveTimestamp: true
|
# preserveTimestamp: true
|
||||||
|
|
||||||
# Publish build artifacts to Azure Pipelines. Extension uses Robocopy "under the hood."
|
# 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
|
# https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/publish-build-artifacts?view=azure-devops
|
||||||
- task: PublishBuildArtifacts@1
|
#- task: PublishBuildArtifacts@1
|
||||||
inputs:
|
# inputs:
|
||||||
pathToPublish: '$(Build.ArtifactStagingDirectory)/target'
|
# pathToPublish: '$(Build.ArtifactStagingDirectory)/target'
|
||||||
artifactName: 'jar-artifact'
|
# artifactName: 'jar-artifact'
|
||||||
publishLocation: 'Container' # Publishes inside Azure Pipelines artifact folder.
|
# publishLocation: 'Container' # Publishes inside Azure Pipelines artifact folder.
|
||||||
parallel: true # Increased speed through multi-threaded copying.
|
# parallel: true # Increased speed through multi-threaded copying.
|
||||||
parallelCount: 8 # Dependent upon CPU capabilities.
|
# parallelCount: 8 # Dependent upon CPU capabilities.
|
||||||
|
|
||||||
- job: DeployWebApp
|
- job: DeployWebApp
|
||||||
steps:
|
steps:
|
||||||
|
@ -54,5 +54,5 @@ jobs:
|
||||||
azureSubscription: 'azure-svc-connection'
|
azureSubscription: 'azure-svc-connection'
|
||||||
appType: webAppLinux
|
appType: webAppLinux
|
||||||
appName: 'james-pet-clinic'
|
appName: 'james-pet-clinic'
|
||||||
package: '$(System.DefaultWorkingDirectory)/**/*.jar'
|
package: '$(System.DefaultWorkingDirectory)/target/*.jar'
|
||||||
|
|
Loading…
Reference in a new issue