Skip to content

Commit

Permalink
Handle passwords with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
dprotaso committed Nov 23, 2016
1 parent e58c06b commit e90c5c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jobs/deploy-notifications/templates/deploy.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function validate_smtp_config() {

function authenticate_and_target() {
cf api $API_ENDPOINT <% if properties.ssl.skip_cert_verify %>--skip-ssl-validation<% end %>
cf auth $ADMIN_USER $ADMIN_PASSWORD
cf auth $ADMIN_USER "$ADMIN_PASSWORD"
cf create-org $ORG
cf target -o $ORG
cf create-space $SPACE
Expand Down
2 changes: 1 addition & 1 deletion jobs/destroy-notifications/templates/destroy.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ mkdir -p $CF_HOME

function authenticate_and_target() {
cf api $API_ENDPOINT <% if properties.ssl.skip_cert_verify %>--skip-ssl-validation<% end %>
cf auth $ADMIN_USER $ADMIN_PASSWORD
cf auth $ADMIN_USER "$ADMIN_PASSWORD"
cf create-org $ORG
cf target -o $ORG
cf create-space $SPACE
Expand Down

0 comments on commit e90c5c3

Please sign in to comment.