1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

Extend deprecation time for cf native blue green plugin (#4861)

* Extend deprecation time for cf native blue green plugin
This commit is contained in:
Srinikitha Kondreddy 2024-03-15 10:32:28 +01:00 committed by GitHub
parent 6e9f52e274
commit d54df69de4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -249,10 +249,12 @@ func handleCFNativeDeployment(config *cloudFoundryDeployOptions, command command
if deployType == "blue-green" {
log.Entry().Warn("[WARN] Blue-green deployment type is deprecated for cf native builds " +
"and will be completely removed by 01.02.2024" +
"and will be completely removed by 05.0.2024" +
"Instead set parameter `cfNativeDeployParameters: '--strategy rolling'`. " +
"Please refer to the Cloud Foundry documentation for further information: " +
"https://docs.cloudfoundry.org/devguide/deploy-apps/rolling-deploy.html")
"https://docs.cloudfoundry.org/devguide/deploy-apps/rolling-deploy.html." +
"Or alternatively, switch to mta build tool. Please refer to mta build tool" +
"documentation for further information: https://sap.github.io/cloud-mta-build-tool/configuration/.")
deployCommand, deployOptions, smokeTestScript, err = prepareBlueGreenCfNativeDeploy(config)
if err != nil {
return errors.Wrapf(err, "Cannot prepare cf native deployment. DeployType '%s'", deployType)