Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBalasankar "Balu" C <balasankar@gitlab.com>2017-12-14 11:32:08 +0300
committerBalasankar "Balu" C <balasankar@gitlab.com>2017-12-15 08:59:52 +0300
commitbf8289ab549324cadec427b8f9a5ae5335453761 (patch)
tree1b839cae9489c55f2f91c1de3a92cf7e4855c22b /scripts
parentee9ad1b1f60374e1b83ef6af481ae7ebdd0e7b2e (diff)
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