Comments (3)
This happens because the errors are displayed as a consequence of looking at only the displayed build.log content which is a truncated version of the actual build.log. If errors reside in the truncated portion of the build log they are never displayed on the build page.
from cruisecontrol.rb.
I had a bit of a dig on this, then I checked the closed issues and realised it's been dealt with (serves me right for not checking for dupes first!): #24
Anyway, I think it might be worth amending the text we display to the user to be a bit more explicit in letting them know they might be missing out on some useful stuff.
diff --git app/views/builds/show.html.erb app/views/builds/show.html.erb
index cd24e57..d9491a9 100644
--- app/views/builds/show.html.erb
+++ app/views/builds/show.html.erb
@@ -70,12 +70,11 @@
<a name="build_log"></a>
<% if @build.output_exceeds_max_file_display_length? %>
<p>
- The size of the file you're viewing now is <%= number_to_human_size(@build.build_log.size) %>, which is too big to display in the dashboard;
- CC.rb is configured to truncate any files longer than <%= number_to_human_size(Configuration.max_file_display_length) %>.
- You can override this value in <code>site_config.rb</code> by setting <code>max_file_display_length</code>
- to your desired value in bytes (e.g. <code>50.kilobytes</code>), or <code>nil</code> to allow files of any length.
+ The size of the file you're viewing now is <%= number_to_human_size(@build.build_log.size) %>, which is too big to display in the dashboard;
+ CC.rb is configured to truncate any files longer than <%= number_to_human_size(Configuration.max_file_display_length) %> which may mean useful information such as errors and warnings are not being displayed.
+ You can override this value in <code>site_config.rb</code> by setting <code>max_file_display_length</code>
+ to your desired value in bytes (e.g. <code>50.kilobytes</code>), or <code>nil</code> to allow files of any length. Note that this may impede performance.
</p>
-
<p>File path: <code><%= @build.build_log.expand_path %></code><br/></p>
<% end %>
from cruisecontrol.rb.
Sorry for the slow response, I only recently got access to the project and with the help of a few others are in the process of triage. Since it has been so long I'm closing this but if this is still an issue let me know!
from cruisecontrol.rb.
Related Issues (20)
- builder exits, cruise process still up HOT 1
- Change default git branch HOT 4
- Builder doesn't understand parameterized rake tasks HOT 1
- Email notification sent when test is still running HOT 2
- site_config.rb seems to be ignored HOT 2
- Nil error with empty commit messages HOT 1
- Download links broken, there's nowhere to download the project from anymore. HOT 4
- Wildcards in branch name for testing feature branches HOT 3
- Todo HOT 10
- test errors introduced by a merge
- Not work send emails after cruise update to latest version
- Is this project still active? HOT 4
- Looks like link to docs is broken HOT 4
- Code browser route unreachable
- Allow "Build Now" when disable_admin_ui is enabled HOT 3
- Builder exits unexpectedly HOT 2
- Upgrade to Rails 3.2.x HOT 7
- Test fails but build passes HOT 1
- Cruisecontrol.rb on top of Amazon EC2
- Running cruise add --help starts builders for existing projects
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cruisecontrol.rb.