Comments (9)
Just providing a link to the build log file just renders it as text without any truncating - this is what we use on our current project.
from cruisecontrol.rb.
@vraravam - Exactly. I was going to create a patch for the same but decided to enquire what others were doing. Thanks.
from cruisecontrol.rb.
@vraravam I like the idea of a direct link in the email - if you make a patch, I will be happy to test - thanks.
from cruisecontrol.rb.
Sorry - I am on a Java project - and am not using ccrb right now. So my turn-around time would be a little high.
from cruisecontrol.rb.
It looks like there is already a link to the failure but just need to add '/build.log' to the end in an additional link. Do you know where this code lives? It did not look to be as easy as just changing the mail template.
from cruisecontrol.rb.
I would love to help but I am tied up with other projects and I don't use ccrb anymore. I am using Jenkins (Hudson).
from cruisecontrol.rb.
I found three locations - and I dont know which one @iconnor you are talking about but here it goes
- build.rb
def contents_for_display(file) - show.html.erb
<%= format_build_log(@build.output) %><%= link_to "See unformatted build log…".html_safe, build_artifact_path(:project => @project.name, :build => @build.label, :path => 'build.log')
- build_report.html.erb
<%= @build.output %>
May be its just a matter of adding the same code as in show.html.erb to the build_report file and you will have the correct link to download the text build.log file.
( I am new to the codebase so just sharing what I found while exploring.)
from cruisecontrol.rb.
You should take a look at #23 (and its pull request #24). It's an attempt to make sure the errors, at least, are displayed regardless of the length of the build log. That might serve your needs until this issue is addressed specifically.
from cruisecontrol.rb.
I'm currently evaluating that solution. I'm not yet convinced that allowing CC.rb to parse the entire file is a wise idea but am happy to accept the patch if others believe that this is a reasonable fix.
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.