Skip to content

Commit

Permalink
Merge pull request #1027 from calcium-machine/develop-catapult
Browse files Browse the repository at this point in the history
Platform: Wrap catapult-build.rb Bamboo credentials in quotes to acco…
  • Loading branch information
seth-reeser authored Aug 3, 2021
2 parents d2deb8f + f92e781 commit a313733
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 4.3.1
version: 4.3.2
major:
description: "Catapult uses Semantic Versioning. During a MAJOR increment, incompatable API changes are made which require a manual upgrade path. Please follow these directions:"
notice: "NEW MAJOR VERSION OF CATAPULT AVAILABLE"
Expand Down
2 changes: 1 addition & 1 deletion catapult/catapult.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2117,7 +2117,7 @@ def Command::getSignatureKey(key, dateStamp, regionName, serviceName)
@api_bamboo_cli_redirect = '2>'
end
api_bamboo_cli_result = `\#{@api_bamboo_cli} --server \#{@configuration['company']['bamboo_base_url']} --password \#{api_bamboo_password} --user \#{api_bamboo_username} --action queueBuild --plan CAT-TEST \#{@api_bamboo_cli_redirect}`; result=$?.success?
api_bamboo_cli_result = `\#{@api_bamboo_cli} --server \#{@configuration['company']['bamboo_base_url']} --password \"\#{api_bamboo_password}\" --user \"\#{api_bamboo_username}\" --action queueBuild --plan CAT-TEST \#{@api_bamboo_cli_redirect}`; result=$?.success?
if api_bamboo_cli_result.strip.include?('Connection refused')
puts 'The Bamboo CLI seems to be down. Skipping attempt to queue build job for TEST environment...'
elsif api_bamboo_cli_result.strip.include?('401')
Expand Down

0 comments on commit a313733

Please sign in to comment.