File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,6 @@ steps:
120
120
mavenAuthenticateFeed : false
121
121
effectivePomSkip : false
122
122
sonarQubeRunAnalysis : false
123
- continueOnError : true
124
123
125
124
- task : CopyFiles@2
126
125
displayName : ' Copy failure screenshots and test logs'
@@ -130,10 +129,12 @@ steps:
130
129
surefire-reports/failure_screenshots/*.png
131
130
log/*.log
132
131
TargetFolder : ' $(Build.ArtifactStagingDirectory)'
132
+ condition : succeededOrFailed()
133
133
134
134
- task : PublishBuildArtifacts@1
135
135
displayName : ' Publish copied artifacts'
136
136
inputs :
137
137
PathtoPublish : ' $(Build.ArtifactStagingDirectory)'
138
138
ArtifactName : ' drop'
139
- publishLocation : ' Container'
139
+ publishLocation : ' Container'
140
+ condition : succeededOrFailed()
You can’t perform that action at this time.
0 commit comments