Open lukesmith opened 12 years ago
What do you think this would look like within the hooks?
def pre_compile
puts 'before all compilers'
end
def pre_compiler(name)
puts "before compiler #{name}"
end
def post_compiler(name)
puts "after compiler #{name}"
end
def post_compile
puts 'after all compilers'
end
Something along those lines looks ok but I'm a bit wary of adding complexity for the needs of a specific build server. TeamCity can be set up to look for test reports and seems to do that continuously without the need to prompt it. Also, the case of having several compilers, particularly long running ones where this would be useful, doesn't feel like it would be common.
That looks good to me.
The reason I was wanting the bozo teamcity script to notify teamcity of reports was so zero configuration for artifacts and reports had to be made to teamcity apart from creating the buildstep.
Along with the pre/post compile/test hooks.
Having pre/post hooks for each specific compiler could be helpful. For example in notifying TeamCity that compilations have been started for specific compilers
For tests it would allow pushing reports sooner after each specific test runner.