English 中文(简体)
is there any way to change the location of .SER files in CruiseControl
原标题:

How can I change the path where .SER files are located, in CruiseControl. Now they are stored in CC home dir and there are too many of them (we have 28 projects). Please help

最佳回答

It doesn t seem to be currently supported. The serializeProject method in Project class doesn t seem to take that possibility into account:

public void serializeProject() {

    try {
        final ObjectOutputStream s = new ObjectOutputStream(new FileOutputStream(name + ".ser"));
        try {
            s.writeObject(this);
            s.flush();
            debug("Serializing project to [" + name + ".ser]");
        } finally {
            s.close();
        }
    } catch (Exception e) {
        LOG.warn("Error serializing project to [" + name + ".ser]: "
                + e.getMessage(), e);
    }
}

where name is the name of the project.

问题回答

暂无回答




相关问题
Configuring security settings in CC.NET 1.5

Below is the ccnet.config file I am having, where I am using the new security features of CC.NET 1.5. Can anybody let me know what I am doing wrong. I have two groups in a DOMAIN and I want to let one ...

cruisecontrol <buildargs> nant parameter not being passed

I ve been trying to use the param in my cruisecontrol build config file to no avail. When checking the cruisecontrol log file, whatever buildargs I try to pass are NOT passed to the call to nAnt. ...

Can t get modificationset to work in CruiseControl on Linux

I am trying to setup cruisecontrol in a Linux environment. I have some experience with cc.NET, but this is the first time I have ever tried to use the nix version. This is what I have for my build....

CruiseControl: How to read logs from exec task

I start an external groovy script via cruisecontrol, which basically works. My problem is that if the groovy script fails I only get the "error string found" in my cruise webapp and email; its even ...

Why does vetoIfFailing crash cruise control?

I am having this weird issue with Cruise Control crashing, when I add the vetoIfFailing attribute to the buildstatus element. <cruisecontrol> <project> <modificationset> ...

HOW to Pass parameters to tomcat in ubuntu?

I am trying to configure cruisecontrol to use Tomcat rather than Jetty as its servlet engine. I am following a tutorial on this and I m stuck at the point where it says: Pass startup parameter to ...

Execute goal on parent after children complete

I have a multi-module maven project (several levels of nesting). Normally, when I execute a maven build (like mvn install or whatever), maven will run all the goals for the parent project before ...

热门标签