Skip to content
This repository has been archived by the owner on Mar 6, 2019. It is now read-only.

Commit

Permalink
Add credentials to staging step
Browse files Browse the repository at this point in the history
  • Loading branch information
realityforge committed Jul 5, 2018
1 parent 1d5c5a0 commit fdf79f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/release.rake
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ HEADER
end

stage('StageRelease', 'Stage the release') do
IO.write('_buildr.rb', "repositories.release_to = { :url => 'https://stocksoftware.jfrog.io/stocksoftware/staging'}")
IO.write('_buildr.rb', "repositories.release_to = { :url => 'https://stocksoftware.jfrog.io/stocksoftware/staging', :username => '#{ENV['STAGING_USERNAME']}', :password => '#{ENV['STAGING_PASSWORD']}' }")
sh 'bundle exec buildr clean upload TEST=no GWT=no'
sh 'rm -f _buildr.rb'
end
Expand Down

0 comments on commit fdf79f8

Please sign in to comment.