I am trying to write a groovy script to use this java API function:

   Jenkins.*createProject 
<http://javadoc.jenkins-ci.org/jenkins/model/Jenkins.html#createProject%28hudson.model.TopLevelItemDescriptor,%20java.lang.String%29>*
(TopLevelItemDescriptor 
<http://javadoc.jenkins-ci.org/hudson/model/TopLevelItemDescriptor.html> type, 
String 
<http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true>
 name) 

But I am not sure how to use TopLevelItemDescriptor 
<http://javadoc.jenkins-ci.org/hudson/model/TopLevelItemDescriptor.html>. 
What value should I assign to 'type' here? Thanks for your advice.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/5d480727-c965-4542-94b9-fa1dd0c075bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to