Hudson Redux
Wednesday, March 10th, 2010I keep losing my Hudson instance so I am making this my memory for what to do each time
- Proxy
- export http_proxy=”<address of proxy from browser>”
- MySQL
- Much of this for MySQL is stolen from Yet Another Blog. Thank you.
yum install mysql-server/usr/bin/mysqladmin -u root password 'new-password'/usr/bin/mysqladmin -u root -h <hostname> password 'new-password'-
service mysqld start mysql --user=root mysqlCREATE DATABASE <dbname>;CREATE USER '<username>'@'%' IDENTIFIED BY 'some_pass';GRANT ALL PRIVILEGES ON <dbname>.* to '<username>'@'%';FLUSH PRIVILEGES;SOURCE createdb.sql;exit;
- Jetty
wget "http://dist.codehaus.org/jetty/jetty-6.1.22/jetty-6.1.22.zip"unzip and put it on the attached volumecd /usr/localln -s /mnt/installs/jetty-6.1.22 jettydon't forget to create tools and static dirs anddon't forget to chmod all dirs allow hudson access
- Fitnesse
wget "http://www.fitnesse.org/fitnesse.jar?responder=releaseDownload&release=20100103"rename the crap you get and put it where you want
cd /usr/localln -s /mnt/installs/fitnesse_20100103 fitnessedon't forget to chmod all dirs allow hudson accessjava -jar fitnesse
- Gradle
wget "http://dist.codehaus.org/gradle/gradle-0.8-all.zip"unzip and put it on the attached volumecd /usr/localln -s /mnt/installs/gradle-0.8 gradleexport GRADLE_HOME=/usr/local/gradle- Then go into Hudson and add the Gradle plug-in and define a gradle build task