buildpipeline with deployment and functional tests