• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Status Code: 500 upon deleting scm from Jenkins for first time?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Status Code: 500 upon deleting scm from Jenkins for first time?


  • Subject: Status Code: 500 upon deleting scm from Jenkins for first time?
  • From: James Cicenia <email@hidden>
  • Date: Thu, 08 Mar 2012 19:36:32 -0600

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: 500

Exception: 
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
 _______________________________________________
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

  • Follow-Ups:
    • Re: Status Code: 500 upon deleting scm from Jenkins for first time?
      • From: David Avendasora <email@hidden>
    • Re: Status Code: 500 upon deleting scm from Jenkins for first time?
      • From: David Avendasora <email@hidden>
    • Re: Status Code: 500 upon deleting scm from Jenkins for first time?
      • From: Paul Hoadley <email@hidden>
    • Re: Status Code: 500 upon deleting scm from Jenkins for first time?
      • From: Paul Yu <email@hidden>
References: 
 >Re: I need help, and I have paypal cash available. (From: Paul Hoadley <email@hidden>)
 >Re: I need help, and I have paypal cash available. (From: David Avendasora <email@hidden>)

  • Prev by Date: Re: New locations for community resources
  • Next by Date: Re: Status Code: 500 upon deleting scm from Jenkins for first time?
  • Previous by thread: Re: I need help, and I have paypal cash available.
  • Next by thread: Re: Status Code: 500 upon deleting scm from Jenkins for first time?
  • Index(es):
    • Date
    • Thread