TeamCity: don't expect artifacts from unmerged apps

This commit is contained in:
Hypnosphi 2018-04-23 18:07:47 +03:00
parent f8c926eeed
commit fd12550d32
2 changed files with 10 additions and 5 deletions

View File

@ -51,8 +51,11 @@ object OpenSourceProjects_Storybook_Chromatic : BuildType({
onDependencyCancel = FailureAction.CANCEL
}
artifacts {
artifactRules = "$lowerName.zip!** => examples/$exampleDir/storybook-static"
if (merged) {
artifacts {
cleanDestination = true
artifactRules = "$lowerName.zip!** => examples/$exampleDir/storybook-static"
}
}
}
}

View File

@ -96,9 +96,11 @@ examples/official-storybook/image-snapshots/__image_snapshots__ => image-snapsho
onDependencyCancel = FailureAction.CANCEL
}
artifacts {
cleanDestination = true
artifactRules = "$lowerName.zip!** => examples/$exampleDir/storybook-static"
if (merged) {
artifacts {
cleanDestination = true
artifactRules = "$lowerName.zip!** => examples/$exampleDir/storybook-static"
}
}
}
}