brew-test-bot: just use ci-upload flag.
Can combine testing and PR upload jobs into a single one.
This commit is contained in:
parent
3e8c6c8e67
commit
a094dbe2bb
@ -18,8 +18,7 @@
|
||||
# --ci-master: Shortcut for Homebrew master branch CI options.
|
||||
# --ci-pr: Shortcut for Homebrew pull request CI options.
|
||||
# --ci-testing: Shortcut for Homebrew testing CI options.
|
||||
# --ci-pr-upload: Homebrew CI pull request bottle upload.
|
||||
# --ci-testing-upload: Homebrew CI testing bottle upload.
|
||||
# --ci-upload: Homebrew CI bottle upload.
|
||||
|
||||
require 'formula'
|
||||
require 'utils'
|
||||
@ -543,7 +542,7 @@ module Homebrew
|
||||
ENV['HOMEBREW_LOGS'] = "#{Dir.pwd}/logs"
|
||||
end
|
||||
|
||||
if ARGV.include? '--ci-upload' or ARGV.include? '--ci-pr-upload' or ARGV.include? '--ci-testing-upload'
|
||||
if ARGV.include? '--ci-upload'
|
||||
jenkins = ENV['JENKINS_HOME']
|
||||
job = ENV['UPSTREAM_JOB_NAME']
|
||||
id = ENV['UPSTREAM_BUILD_ID']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user