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

@ -24,4 +24,14 @@ steps:
goals: "${{ parameters.goal }}" goals: "${{ parameters.goal }}"
publishJUnitResults: yes publishJUnitResults: yes
testResultsFiles: '**/surefire-reports/TEST-*.xml' testResultsFiles: '**/surefire-reports/TEST-*.xml'
jdkVersionOption: "${{ parameters.jdkVersion }}" 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'