implemented sequence build-A, deploy-A, build-B, deploy-B