Skip to content
Snippets Groups Projects
Commit a094dbe2 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

brew-test-bot: just use ci-upload flag.

Can combine testing and PR upload jobs into a single one.
parent 3e8c6c8e
No related branches found
No related tags found
No related merge requests found
......@@ -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']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment