Build: Set bwc builds to always set snapshot (#26704)

This commit enforces bwc builds always generate snapshot versions, even
when testing release versions in CI.

closes #26702
This commit is contained in:
Ryan Ernst 2017-09-19 17:41:51 -07:00 committed by GitHub
parent bebff47b5b
commit a1c766c75c
1 changed files with 1 additions and 0 deletions

View File

@ -134,6 +134,7 @@ if (enabled) {
dependsOn checkoutBwcBranch, writeBuildMetadata dependsOn checkoutBwcBranch, writeBuildMetadata
dir = checkoutDir dir = checkoutDir
tasks = [':distribution:deb:assemble', ':distribution:rpm:assemble', ':distribution:zip:assemble'] tasks = [':distribution:deb:assemble', ':distribution:rpm:assemble', ':distribution:zip:assemble']
startParameter.systemPropertiesArgs = ['build.snapshot': 'true']
doLast { doLast {
List missing = [bwcDeb, bwcRpm, bwcZip].grep { file -> List missing = [bwcDeb, bwcRpm, bwcZip].grep { file ->
false == file.exists() } false == file.exists() }