Fix WorkingCopy step to read correct commit variables
Summary: Ref T9252. This variable was always wrong but we fell back to just resetting to `HEAD` before. Use the correct variable name. Test Plan: Verified variable name. Reviewers: chad, hach-que Reviewed By: hach-que Maniphest Tasks: T9252 Differential Revision: https://secure.phabricator.com/D14224
This commit is contained in:
@@ -152,7 +152,7 @@ final class HarbormasterLeaseWorkingCopyBuildStepImplementation
|
|||||||
|
|
||||||
$repository = $repositories[$repository_phid];
|
$repository = $repositories[$repository_phid];
|
||||||
|
|
||||||
$commit = idx($variables, 'repository.commit');
|
$commit = idx($variables, 'buildable.commit');
|
||||||
$ref_uri = idx($variables, 'repository.staging.uri');
|
$ref_uri = idx($variables, 'repository.staging.uri');
|
||||||
$ref_ref = idx($variables, 'repository.staging.ref');
|
$ref_ref = idx($variables, 'repository.staging.ref');
|
||||||
if ($commit) {
|
if ($commit) {
|
||||||
|
Reference in New Issue
Block a user