How To

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

This is a public Discussion Area  publicRSS

Posts

  • Felix L
    svn+ssh on mac osx1
    How To posted November 4, 2010 by Felix L , tagged agent, authentication, MacOS, Server, Subversion
    Title:
    svn+ssh on mac osx
    Problem:

    Hello,

    I've gotten my Ubuntu box to connect to subversion using passwordless ssh.  I was able to do that in Ubuntu using the command "sudo su - cruise" to setup the passwordless ssh.  Now I'm trying to do it on Mac OSx, I tried using the "sudo su - cruise command, and that doesn't work.  It says that cruise is an unknown login.  How do I setup the passwordless ssh on the Mac OSx?

    Felix

  • Anush Ramani
    Backup the Cruise/Go embedded database
    How To posted August 24, 2010 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.

  • Jez Humble
    svn+ssh on Windows
    How To posted October 2, 2009 by Jez Humble , tagged Subversion, Windows
    Title:
    svn+ssh on Windows
    Problem:

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

  • Mark Chang
    How to resolve a corrupt index file
    How To posted September 28, 2009 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"

  • Wei Xu
    Could not found the files on mapped network drive under...
    How To posted September 17, 2009 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] ***\***\***\TestImpl.java:2: package oracle.jbo.server does not exist
    [javac] import oracle.jbo.server.EntityImpl;
    [javac] ^

  • Qiao Liang 乔梁
    How to generate password for users when using password file...61
    How To posted August 31, 2009 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.

  • Chris Stevenson
    Cruise can't run my scripts
    How To posted August 5, 2009 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.

  • Li Yanhui
    Setup environment variables for Cruise Agent on Mac
    How To posted July 28, 2009 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

  • Qiao Liang 乔梁
    Agents which are cloned from a virtual machine image...
    How To posted July 22, 2009 by Qiao Liang 乔梁 , 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.

  • Wei Xu
    Agents do not get recognised on restart when anti-virus...
    How To posted July 14, 2009 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.