Ticket #6340: continuous_builder.patch
| File continuous_builder.patch, 0.6 kB (added by tec, 2 years ago) |
|---|
-
continuous_builder.rb
old new 31 31 32 32 private 33 33 def log_file_path 34 @log_file_path ||= @options[:application_root] + "/log/last_build.log"34 @log_file_path ||= File.join(@options[:application_root], 'log', 'last_build.log') 35 35 end 36 36 37 37 def lock_file_path … … 54 54 grab_lock 55 55 yield 56 56 ensure 57 File.delete(lock_file_path)57 release_lock 58 58 end 59 59 end 60 60