diff options
| author | Mike McQuaid | 2014-10-24 14:27:01 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-10-24 14:27:04 +0100 |
| commit | a094dbe2bbfa50a171de837fcad53ef50e819b3c (patch) | |
| tree | 397cee728885cd07876bc5181e8c562dee13e5de /Library | |
| parent | 3e8c6c8e67b8296b013c535e6d46da6238345236 (diff) | |
| download | brew-a094dbe2bbfa50a171de837fcad53ef50e819b3c.tar.bz2 | |
brew-test-bot: just use ci-upload flag.
Can combine testing and PR upload jobs into a single one.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/test-bot.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb index f38950842..742fda12d 100644 --- a/Library/Homebrew/cmd/test-bot.rb +++ b/Library/Homebrew/cmd/test-bot.rb @@ -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'] |
