Ok -
WOW Borneo!!!?
I think I now understand Jenkins a lot more.
I have my repository up. I created a job. And after 14 hours killed it. The console didn't give me much. So let's review:
What triggers Jenkins?
Normally, you'd set up the job to watch your SCM for changes and build whenever it sees new code.
OK - That would be good for testing only and not deployment so I will stick with the manual method for now.
Yes. You won't get a lot of the "automated" coolness, but it will build just fine. But FIRST you need a job to build your App. 1) Start here: http://wiki.wocommunity.org/display/WO/Single-Project+Jobs+using+WOJenkins, 2) Modify the job configuration and remove the first SCM task (the one that would normally checkout your code from your repository) 3) Run the job once, it will fail, but it will setup some directories you need
Is this the failure you were looking for:
Status Code: 500Exception: Stacktrace:java.lang.RuntimeException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","auto"],"authorOrCommitter":false,"branches":{"name":"**"},"buildChooser":{"stapler-class":"hudson.plugins.git.util.DefaultBuildChooser"},"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"","gitConfigName":"","gitTool":"Default","includedRegions":"","localBranch":"","pruneBranches":false,"recursiveSubmodules":false,"reference":"","relativeTargetDir":"","remotePoll":false,"scmName":"","skipTag":false,"value":"1","wipeOutWorkspace":false}
at hudson.model.Descriptor.newInstance(Descriptor.java:572) ??
4) Copy your Eclipse project directory into the Jenkins job's workspace/Projects directory (probably /Users/Shared/Jenkins/Home/jobs/YourJob/workspace/Projects) 5) Change the ownership of the directory you just copied in and all it's contents with: sudo chown -R daemon:daemon /Users/Shared/Jenkins/Home/jobs/YourJob/workspace/Projects/MyProject 5) Run the job again.
This should normally work…
Thanks for your help and of course ALL your instructions!
James |