Merge pull request #392 from dforbesfds/feat/parameters/mr-last-commit

feat(parameters): [mr-last-commit]
This commit is contained in:
Robin Müller 2016-08-23 14:15:46 +02:00 committed by GitHub
commit 00c2265a0e
2 changed files with 2 additions and 0 deletions

View File

@ -211,6 +211,7 @@ These include:
* gitlabMergeRequestDescription
* gitlabMergeRequestId
* gitlabMergeRequestIid
* gitlabMergeRequestLastCommit
* gitlabTargetBranch
* gitlabTargetRepoName
* gitlabTargetNamespace

View File

@ -97,6 +97,7 @@ public final class CauseData {
variables.put("gitlabMergeRequestDescription", mergeRequestDescription);
variables.put("gitlabMergeRequestId", mergeRequestId == null ? "" : mergeRequestId.toString());
variables.put("gitlabMergeRequestIid", mergeRequestIid == null ? "" : mergeRequestIid.toString());
variables.put("gitlabMergeRequestLastCommit", lastCommit);
variables.put("gitlabTargetBranch", targetBranch);
variables.put("gitlabTargetRepoName", targetRepoName);
variables.put("gitlabTargetNamespace", targetNamespace);