Go Answers

Find the answers to your Go questions, including FAQs, how-tos, tips and tricks

This is a public Discussion Area  publicRSS

Recent Posts

  • Backup the Cruise/Go embedded database
    How To posted Aug 24 by Anush Ramani , tagged linux, Server
    Title:
    Backup the Cruise/Go embedded database
    Problem:

    The Go server maintains an embedded database that stores historical data for all your pipeline, stage and job runs. Rather than backing up the entire Go directory structure, its much more convinient to just backup the embeded DB. This article shows you how to backup your data in Linux.

  • How to generate password for users when using password file...65.0
    How To last edited 9/2/09 by Qiao Liang 乔梁 , tagged authentication, config, Installer
    Title:
    How to generate password for users when using password file for authentication in Cruise
    Problem:

    Cruise did not ship a tool to generate password with SHA1 for users. However, there are lots of tools does.

    Recent Comments (3 of 6)

  • Agents which are cloned from a virtual machine image...
    How To last edited 10/15/09 by Jez Humble , tagged agent, Installer, Scheduling, Server
    Title:
    Agents which are cloned from a virtual machine image conflict
    Problem:

    I have installed an agent on a virtual machine, and it worked fine with Cruise server.

    However when I clone the VM image, both of the agents get confused, and a job can be building on both agents at the same time.

  • svn+ssh on Windows
    How To posted 10/2/09 by Jez Humble , tagged Subversion, Windows
    Title:
    svn+ssh on Windows
    Problem:

    How do I make Cruise work with svn+ssh on Windows?

  • How to resolve a corrupt index file
    How To posted 9/28/09 by Mark Chang
    Title:
    How to resolve a corrupt index file
    Problem:

    You may see this error message if you have a corrupt index file.

    "File ID mismatch got=0 expected=454 pos=10057 false org.h2.store.DiskFile:C:\Program Files\Cruise"

  • Could not found the files on mapped network drive under...
    How To posted 9/17/09 by Wei Xu , tagged agent, Windows
    Title:
    Could not found the files on mapped network drive under windows
    Problem:

    put the 3rd party library files on a shared folder, let's say \\lib-server\libraries, and map \\lib-server as z: drive, so we can access z:\libraries for library files

    and my ant is using the classpath z:\libraries to build the project, it works fine when I run it in command line, but failed when running in Cruise.

    the output showing error message:
    [javac] xxx\xxx\xxx\TestImpl.java:2: package oracle.jbo.server does not exist
    [javac] import oracle.jbo.server.EntityImpl;
    [javac] ^

  • Cruise can't run my scripts
    How To posted 8/5/09 by Chris Stevenson
    Title:
    Cruise can't run my scripts
    Problem:

    When I try to run my scripts on unix using the exec task it fails with the error "Make sure this command can execute manually" even though the script is there and is executable.

  • Setup environment variables for Cruise Agent on Mac
    How To posted 7/28/09 by Li Yanhui , tagged agent, MacOS
    Title:
    Setup environment variables for Cruise Agent on Mac
    Problem:

    Normally if you run Cruise Agent on Mac by double clicking the application, it doesn't inherit environment variables from /etc/profile, ~/.profile etc. You need to use the ~/.MacOSX/environment.plist to specify environment variables.

    For example, if you want to specify ANT_OPTS environment variable for using Ant in Cruise Agent, the content of environment.plist may look like this:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
            <key>ANT_OPTS</key>
            <string>-Xmx2048m</string>
    </dict>
    </plist>

    And if you change the environment.plist please make sure you logout and login again to make it take effect.

    More information can be found here: http://developer.apple.com/qa/qa2001/qa1067.html

  • Agents do not get recognised on restart when anti-virus...
    How To posted 7/14/09 by Wei Xu , tagged agent, Windows
    Title:
    Agents do not get recognised on restart when anti-virus application installed
    Problem:

    The original bug is http://community.thoughtworks.com/posts/5724dc11b1,

    The problem is when anti-virus application installed on agent side, the agent always think it's a new agent, so need to approve it again. it's a bug in the current release, and we'll fix it in next release.

  • Cruise shows error message "Exception while executing...
    How To posted 7/13/09 by Wei Xu , tagged MacOS, Server
    Title:
    Cruise shows error message "Exception while executing command ... error=2, No such file or directory" on Mac
    Problem:

    Cruise shows the following error message when I Cruise server on Mac:

    7/13/09 11:26:48 AM [0x0-0xa31a31].com.thoughtworks.studios.cruise.server[53595] SEVERE: Exception while executing command: [/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java, -Xms512m, -Xmx1024m, -XX:PermSize=128m, -Dignored=true, -Duser.language=en, -Duser.country=US, -Dcruise.database.port=9153, -Dcruise.config.file=/Library/Application Support/Cruise Server/cruise-config.xml, -Dcruise.config.dir=/Library/Application Support/Cruise Server/, -Dcruise.hsql.prop=/Library/Application Support/Cruise Server/db/h2db, -Dcruise.server.port=8153, -Dcruise.server.ssl.port=8154, -jar, /Users/weixu/Downloads/Cruise Server.app/cruise.jar] - java.io.IOException: Cannot run program "/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java" (in directory "/Library/Application Support/Cruise Server"): error=2, No such file or directory

    The associated bug is http://twstudios.zendesk.com/tickets/1059

    Screenshot: