Update mvn.reusable.yaml

published and downloaded artifacts
This commit is contained in:
SHAIK.SOHAIL 2023-02-21 16:40:04 +05:30 committed by GitHub
parent e77ceafef3
commit 690094d3af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,3 +25,13 @@ steps:
publishJUnitResults: yes
testResultsFiles: '**/surefire-reports/TEST-*.xml'
jdkVersionOption: "${{ parameters.jdkVersion }}"
- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Build.ArtifactStagingDirectory)'
artifactName: 'maven-package'
- task: DownloadPipelineArtifact@2
inputs:
artifactName: 'maven-package'
downloadPath: '$(System.ArtifactsDirectory)/maven-package'