Skip to content

Commit b519caa

Browse files
committed
(build) running upload artifacts only if cake has suceeded
1 parent 7d70426 commit b519caa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/stages/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ steps:
1212
ENABLED_UNIT_TESTS: $(ENABLED_UNIT_TESTS)
1313
- publish: $(System.DefaultWorkingDirectory)
1414
displayName: 'Upload pipeline artifacts'
15-
condition: eq( variables['Agent.OS'], 'Windows_NT' )
15+
condition: and(succeeded(), eq( variables['Agent.OS'], 'Windows_NT' ))
1616
artifact: storage

0 commit comments

Comments
 (0)