Re: Using Jenkins to Build a WOApp
Re: Using Jenkins to Build a WOApp
- Subject: Re: Using Jenkins to Build a WOApp
- From: Musall Maik <email@hidden>
- Date: Wed, 30 Jan 2013 11:07:50 +0100
Hi Roger,
i vaguely remember having dealt with those WOCompile problems as well when I set it up. My jenkins server is running 10.7 however. In any case I believe the WOJenkins stuff needs customizing for certain app/framework setups. You could go and have a look at my forks:
https://github.com/maiksd/WOJenkins
https://github.com/maiksd/WOJenkins_Job_InstallWOAndWOnder
Perhaps there's a clue in there for you.
Maik
Am 23.01.2013 um 21:00 schrieb Roger Perryman <email@hidden>:
> I'm trying to configure Jenkins to build my WO Application so that it can be deployed. I'm not sure I ever had Jenkins working properly because I am getting permission errors. Originally, I had installed Hudson on OSX 10.5.8. Then it was upgraded to Jenkins. Also we switched from SVN to Git. That is when the problems started. The recommended git version is not available on 10.5. I attempted to install Jenkins on my laptop (10.6.7). Jenkins _seemed_ to work but I was getting permission errors from Git. I completely removed Jenkins and removed all known artifacts. I then followed these steps from the Wiki:
>
> I reinstalled following "Installing and Configuring Jenkins." I chose the stand-alone Mac OS X setup. Everything worked as expected. In the Post Installation, I installed Multiple SCMs and Git Plugin. I did not configure for using SSL at this time.
>
> I followed "Installing WebObjects and WOnder for Jenkins using WOJenkins." This step built successfully.
>
> Then I followed the steps in "Multi-Project Jobs Using WOJenkins." This step failed at .../SimpleBlogLogic/build.xml:87 taskdef class org.objectstyle.woproject.ant.WOCompile cannot be found using the classloader AntClassLoader[].
>
> I'm not sure if there is a step missing in the guide or if I missed step. I've reviewed the steps and ran the job again with the same results. Perhaps I have chosen the wrong template for my needs. Do I just clone the "My_WebObjects_Project" each time I want to create a new project? Ultimately, I want to compile my application and dependent frameworks (WO, WOnder, and two of my own) and bundle them together for deployment. I'm considering a war file so I don't have to deal with installation or version issues on the server. I want simple and reliable. I also need to replicate this process on a dedicated build server once I have verified everything works.
>
> My source repository is in Stash on another computer on the local network. I'm using my personal credentials for now. I suspect I will need to create an SSH key for the build server to talk to Stash and place it in JENKINS_HOME/.ssh.
>
> Here is the setup on my laptop.
> OSX: 10.6.7
> WO: 5.4.3
> WOnder: master (5.8.x ?)
> Git: 1.7.9.1
> Jenkins: 1.499
>
> Roger
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden