Comments (9)
@aakashd is already looking into it.
from goldberg.
shotgun. I'm trying to make a plugin structure for goldberg
from goldberg.
I added a after_build feature to the config.
It's just a matter of
after_build Proc.new { |build, project|
if (build.status == 'Failed' || (build.status == 'Success' && project.builds[1] == 'failed'))
Pony.mail(:to => oeao, :from => ...)
}
from goldberg.
@gja - The API that we are planning is as shown in attached gist https://gist.github.com/952006
Let me know what you think about it, and if you have a bandwidth to implement it.
from goldberg.
I'm biased by the way cruisecontrol.rb does this. In the system configuration, one can specify default configurations (ie from address). In the project configuration, one specifies the "to address". If a "to address" is present, then the default behavior would be email on failure and email on first successful after a failure. I would document how to override the default with more interesting behavior.
I'm traveling quite a bit in May, so I'm not able to contribute as much as I can in June.
Todd
from goldberg.
What's the progress on this? I'm interested in writing a Campfire notifier so that Goldberg can notify a campfire room.
from goldberg.
It's not clear to me who is working on this feature right now.
from goldberg.
I have worked on this issue, and its already done.
The API is
Project.configure do |config|
config.rake_task = 'ci'
config.on_build_failure do |build,notification|
notification.from('[email protected]').to('[email protected]').with_subject("Build #{build.id} for #{build.project.name} #{build.status}").send
end
end
from goldberg.
@Rohit I have added hooks for on_build_completion, on_failure, on_success & on_red_to_green; which you can use to hook the Campfire notifications.
from goldberg.
Related Issues (20)
- Perform a git-reset before doing a git pull HOT 1
- Poller Error "cannot start a transaction within a transaction" HOT 7
- Fix home page refresh HOT 6
- RVM fails to work properly if the .rvmrc is checked in HOT 3
- Use .rvmrc ruby if it exists
- suggestion: culprit checking code shouldn't be in view HOT 6
- allow periods (.) in project names HOT 6
- Portability issues / suggestions HOT 6
- time of _projects.html.haml and builds.html.haml not necessarily in sync HOT 4
- svn cleanups HOT 2
- suggestion: making running more complex build commands easier HOT 4
- not easy to run! HOT 7
- Measure & Report on build times HOT 1
- Show commit message on the build page HOT 1
- Doesn't send any mail notification upon build completion HOT 6
- Show status as success even build has been failed HOT 2
- Updated configuration page with jruby configuration HOT 4
- Run ajax functionality specs using goldberg HOT 2
- Capybara specs are failing some time on goldberg HOT 1
- Not able to run specs through goldberg
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 goldberg.