Add force option for vcp promote
* And use it by default, in release-mcp-version
Change-Id: I3e35f824610509a3d4fb0a5eeacd77a2dae3af75
Related-Bug: PROD-23604 (PROD:23604)
diff --git a/release-mcp-version.groovy b/release-mcp-version.groovy
index 4cae93c..f51696d 100644
--- a/release-mcp-version.groovy
+++ b/release-mcp-version.groovy
@@ -78,7 +78,8 @@
build job: "promote-vcp-images-all", parameters: [
[$class: 'StringParameterValue', name: 'VCP_IMAGE_LIST', value: VcpImageList],
[$class: 'StringParameterValue', name: 'TAG', value: tag],
- [$class: 'StringParameterValue', name: 'SOURCE_TAG', value: sourceTag]
+ [$class: 'StringParameterValue', name: 'SOURCE_TAG', value: sourceTag],
+ [$class: 'BooleanParameterValue', name: 'FORCE_OVERWRITE', value: true],
]
}