mirror of
https://github.com/ViViDboarder/abuse-the-force.git
synced 2024-11-24 04:46:36 +00:00
Add rollback_on_error for safer deployment
Will probably have to make this situational for running test classes
This commit is contained in:
parent
5d07fc9059
commit
4ead0cc8f7
@ -90,7 +90,7 @@ module AbuseTheForce
|
||||
end
|
||||
|
||||
if File.file? File.join(dpath, 'package.xml')
|
||||
@client.deploy(File.expand_path(dpath)).
|
||||
@client.deploy(File.expand_path(dpath), { :rollback_on_error => true }).
|
||||
on_complete { |job|
|
||||
puts "Finished deploy #{job.id}!"
|
||||
result = job.result
|
||||
|
Loading…
Reference in New Issue
Block a user