summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBalasankar "Balu" C <balasankar@gitlab.com>2017-12-14 14:02:08 +0530
committerBalasankar "Balu" C <balasankar@gitlab.com>2017-12-15 11:29:52 +0530
commitbf8289ab549324cadec427b8f9a5ae5335453761 (patch)
tree1b839cae9489c55f2f91c1de3a92cf7e4855c22b /scripts
parentee9ad1b1f60374e1b83ef6af481ae7ebdd0e7b2e (diff)
downloadgitlab-ce-bf8289ab549324cadec427b8f9a5ae5335453761.tar.gz
Pass info about who started the job and which job triggered it
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/trigger-build-omnibus4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/trigger-build-omnibus b/scripts/trigger-build-omnibus
index 4ff0e8e10b7..bd243a4903f 100755
--- a/scripts/trigger-build-omnibus
+++ b/scripts/trigger-build-omnibus
@@ -39,7 +39,9 @@ module Omnibus
"ref" => ENV["OMNIBUS_BRANCH"] || "master",
"variables[GITLAB_VERSION]" => ENV["CI_COMMIT_SHA"],
"variables[ALTERNATIVE_SOURCES]" => true,
- "variables[ee]" => ee? ? 'true' : 'false'
+ "variables[ee]" => ee? ? 'true' : 'false',
+ "variables[TRIGGERED_USER]" => ENV["GITLAB_USER_NAME"],
+ "variables[TRIGGER_SOURCE_JOB]" => "https://gitlab.com/gitlab-org/#{ENV['CI_PROJECT_NAME']}/-/jobs/#{ENV['CI_JOB_ID']}"
}
end