Lock lifecycle only for the version in pipeline
Lock lifecycle only for the version in pipeline

Before it would always run against the HEAD of master, now it will run
against the commit that the dev release was built from

[#101718006](https://www.pivotaltracker.com/story/show/101718006)

Signed-off-by: Xuebin He <a24423da5583aa8407f2dcc30b6a21a9dc802b67@emc.com>

tracyde/bosh-aws-cpi-release,jfuerth/bosh-aws-cpi-release,cloudfoundry-incubator/bosh-aws-cpi-release,tracyde/bosh-aws-cpi-release,wcamarao/bosh-aws-cpi-release,tracyde/bosh-aws-cpi-release,wcamarao/bosh-aws-cpi-release,jfuerth/bosh-aws-cpi-release,cloudfoundry-incubator/bosh-aws-cpi-release,jfuerth/bosh-aws-cpi-release,wcamarao/bosh-aws-cpi-release,cloudfoundry-incubator/bosh-aws-cpi-release