提交 f50d0e4e 编写于 作者: G Grzegorz Bizon

Correctly check whether package-and-qa runs for EE

上级 cb9e00b0
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册