Skip to content

Commit

Permalink
Issue travis-ci#1190 - Adding Org and Space to login command
Browse files Browse the repository at this point in the history
Adding the -o and -s arguments to the login command to prevent the cf command from blocking the build indefinitely during login.
  • Loading branch information
jpwsutton authored May 1, 2020
1 parent 793b282 commit d0ced42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dpl/providers/bluemixcloudfoundry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Bluemixcloudfoundry < Provider

cmds install: 'test $(uname) = "Linux" && rel="linux64-binary" || rel="macosx64"; wget "https://cli.run.pivotal.io/stable?release=${rel}&source=github" -qO cf.tgz && tar -zxvf cf.tgz && rm cf.tgz',
api: './cf api %{api} %{skip_ssl_validation_opt}',
login: './cf login -u %{username} -p %{password}',
login: './cf login -u %{username} -p %{password} -o %{organization} -s %{space}',
target: './cf target -o %{organization} -s %{space}',
push: './cf push %{push_args}',
logout: './cf logout'
Expand Down

0 comments on commit d0ced42

Please sign in to comment.