Shared Jenkins library which all ODS projects & components use - provisioning, SonarQube code scanning, Nexus publishing, OpenShift template based deployments and repository orchestration
Describe the bug
odsComponentStageRolloutOpenShiftDeployment makes the DeploymentConfig pause/resume in the process to update the resource.
If the resources have been paused before and it try to pause it again or if the resource is not paused and it tries to resume it again the pipeline will fail.
We have also seen that if the pipeline tries to rollout and the rollout is already running the pipeline will also fail.
To Reproduce
Steps to reproduce the behavior:
Run a component pipeline with the one of the 3 situations mentioned before
See error
Expected behavior
Pipeline should be able to handle these errors and the pipeline should complete
Screenshots
Rollout running and pipeline tries to trigger a rollout
Deployment is not paused but pipeline tries to resume it
Deployment is paused but pipeline tries to pause it
Describe the bug odsComponentStageRolloutOpenShiftDeployment makes the DeploymentConfig pause/resume in the process to update the resource. If the resources have been paused before and it try to pause it again or if the resource is not paused and it tries to resume it again the pipeline will fail. We have also seen that if the pipeline tries to rollout and the rollout is already running the pipeline will also fail.
To Reproduce Steps to reproduce the behavior:
Expected behavior Pipeline should be able to handle these errors and the pipeline should complete
Screenshots
Rollout running and pipeline tries to trigger a rollout
Deployment is not paused but pipeline tries to resume it
Deployment is paused but pipeline tries to pause it
Affected version: