[ci]: append job.attempt in memdump/log artifacts
azure pipepline does not allow upload same artifacts again. thus, use job.attempt to uniquely name the test artifacts Signed-off-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
parent
98298f7f7f
commit
fb0b999361
@ -203,11 +203,11 @@ stages:
|
||||
fi
|
||||
displayName: "Run T0 tests"
|
||||
- publish: $(Build.ArtifactStagingDirectory)/kvmdump
|
||||
artifact: sonic-buildimage.kvmtest.memdump
|
||||
artifact: sonic-buildimage.kvmtest.memdump@$(System.JobAttempt)
|
||||
displayName: "Archive sonic kvm memdump"
|
||||
condition: failed()
|
||||
- publish: $(Build.ArtifactStagingDirectory)/logs
|
||||
artifact: sonic-buildimage.kvmtest.log
|
||||
artifact: sonic-buildimage.kvmtest.log@$(System.JobAttempt)
|
||||
displayName: "Archive sonic kvm logs"
|
||||
condition: succeededOrFailed()
|
||||
- task: PublishTestResults@2
|
||||
|
Loading…
Reference in New Issue
Block a user