Single-Project Jobs using WOJenkins
Last modified by Bastian Triller on 2012/08/24 19:57
Single-Project jobs are ones that build a single WebObjects Framework or Application. Any frameworks that are depended on by a single-project job must be either already built and installed in the JENKINS_HOME/WOFrameworksRepository (i.e., WebObjects and Project Wonder frameworks) or can be other Jenkins jobs with the same name, e.g., a dependency on MyFramework.framework can be satisfied by a Jenkins job named MyFramework.
WOJenkins
WOJenkins is a set of shell scripts and Jenkins job configurations developed specifically to make it easy to build WebObjects projects with Jenkins.
Building a WebObjects Framework or Application
- Change directories into JENKINS_HOME/jobs
- cd /Users/Shared/Jenkins/Home/jobs/Clone job configuration from github.com repository
- If your project is in a Git repository:
- sudo git clone https://github.com/avendasora/WOJenkins_Job_WOProject_Git.git My_WebObjects_ProjectIf your project is in a SVN repository:
- git clone https://github.com/avendasora/WOJenkins_Job_WOProject_SVN.git My_WebObjects_ProjectSet correct ownership and permissions - If you used the Mac OSX Jenkins installer, the user and group that it will be using are both "jenkins"
- sudo chown -R jenkins:jenkins My_WebObjects_Project/Open Jenkins and tell it to reload the configuration files so it will see the new job.
- From within Jenkins user interface, navigate to: Jenkins -> Manage Jenkins -> Reload Configuration from Disk
- Call the reload URL: http://localhost:8080/reload - this link should work for a default install if you haven't turned on any security.
- Open the new Job.
You should see a new job called My_WebObjects_Project.