summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-04-03 09:57:33 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-04-03 09:59:47 +0200
commitf50d0e4eee57d8eae2758b9118649ba59c487456 (patch)
tree05c5752c54847fa09232d1eb08062db65d0af14c
parentcb9e00b0a6213f533e5e8e2b46f72e3d3d37ee05 (diff)
downloadgitlab-ce-f50d0e4eee57d8eae2758b9118649ba59c487456.tar.gz
Correctly check whether package-and-qa runs for EEfix/qa/gb/use-project-path-in-package-and-qa-action
-rwxr-xr-xscripts/trigger-build-omnibus3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/trigger-build-omnibus b/scripts/trigger-build-omnibus
index 85ea4aa74ac..95f35b44f5a 100755
--- a/scripts/trigger-build-omnibus
+++ b/scripts/trigger-build-omnibus
@@ -9,6 +9,7 @@ module Omnibus
class Trigger
TOKEN = ENV['BUILD_TRIGGER_TOKEN']
+ TRIGGERER = ENV['CI_PROJECT_NAME']
def initialize
@uri = URI("https://gitlab.com/api/v4/projects/#{CGI.escape(Omnibus::PROJECT_PATH)}/trigger/pipeline")
@@ -32,7 +33,7 @@ module Omnibus
private
def ee?
- File.exist?('CHANGELOG-EE.md')
+ TRIGGERER == 'gitlab-ee' || File.exist?('CHANGELOG-EE.md')
end
def env_params