Hi,

Is there any example or tutorial on how to create a plugin new Project type 
?


I tried to create one by referring the code of some of the existing plugins 
like Multi-Job, Maven etc..

I have extended hudson.model.Project , hudson.model.Build;

With this a new Project Type gets created, but when trying to run the build 
i get the following exception..


SEVERE: Unexpected executor death
java.lang.Error: java.lang.NoSuchMethodException: <build 
classname>.<init>(<project 
class name>)
at jenkins.model.lazy.LazyBuildMixIn.newBuild(LazyBuildMixIn.java:186)
at hudson.model.AbstractProject.newBuild(AbstractProject.java:1019)
at hudson.model.AbstractProject.createExecutable(AbstractProject.java:1210)
at hudson.model.AbstractProject.createExecutable(AbstractProject.java:145)
at hudson.model.Executor$1.call(Executor.java:364)
at hudson.model.Executor$1.call(Executor.java:346)
at hudson.model.Queue._withLock(Queue.java:1405)
at hudson.model.Queue.withLock(Queue.java:1270)
at hudson.model.Executor.run(Executor.java:346)
Caused by: java.lang.NoSuchMethodException:  <build classname>.<init>(<project 
class name>)
at java.lang.Class.getConstructor0(Class.java:3082)
at java.lang.Class.getConstructor(Class.java:1825)
at jenkins.model.lazy.LazyBuildMixIn.newBuild(LazyBuildMixIn.java:175)
... 8 more


Any help appreciated. 

Regards,
Nandish


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/a3baa042-ecdf-4b1c-8493-d1a364cac9f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to