From 3965079e7abd73968421687fefd975102a0276a9 Mon Sep 17 00:00:00 2001 From: Owen Mehegan Date: Wed, 4 May 2016 15:09:10 -0700 Subject: [PATCH] Update list of variables available in builds --- README.md | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 0f850c9..4eaf1e8 100644 --- a/README.md +++ b/README.md @@ -164,20 +164,29 @@ In order to build when a new tag is pushed: # Parameterized builds -You can trigger a job a manually by clicking ``This build is parameterized`` and adding the relevant build parameters. +You can trigger a job a manually by clicking ``This build is parameterized`` and adding the any of the relevant build parameters. These include: +* gitlabBranch * gitlabSourceBranch -* gitlabTargetBranch -* gitlabSourceRepoURL -* gitlabSourceRepoName -* gitlabBranch (This is optional and can be used in shell scripts for the branch being built by the push request) -* gitlabActionType (This is optional and can be used in shell scripts or other plugins to change the build behaviour. Possible values are PUSH or MERGE) -* gitlabMergeRequestTitle -* gitlabMergeRequestId -* gitlabMergeRequestAssignee +* gitlabActionType * gitlabUserName * gitlabUserEmail +* gitlabSourceRepoHomepage +* gitlabSourceRepoName +* gitlabSourceNamespace +* gitlabSourceRepoURL +* gitlabSourceRepoSshUrl +* gitlabSourceRepoHttpUrl +* gitlabMergeRequestTitle +* gitlabMergeRequestDescription +* gitlabMergeRequestId +* gitlabMergeRequestIid +* gitlabTargetBranch +* gitlabTargetRepoName +* gitlabTargetNamespace +* gitlabTargetRepoSshUrl +* gitlabTargetRepoHttpUrl # Contributing to the Plugin