Re-deployment does not create git ref for deployment

In Environment view, there's re-deploy option. Doing re-deploy simply invokes deploy job from that pipeline again.

While normal deploy creates git ref environments/$Environment_Name/deployments/$Deployment_Id then re-deploy seems not doing that.

I think this is an inconsistency that should be fixed.

➔ git fetch origin +refs/environments/*:refs/remotes/origin/environments/* 2>&1|grep -E '110|113|114'
 * [new ref]         refs/environments/production/deployments/110 -> origin/environments/production/deployments/110
 * [new ref]         refs/environments/production/deployments/113 -> origin/environments/production/deployments/113

image

Edited Mar 11, 2019 by Elan Ruusamäe
Assignee Loading
Time tracking Loading