Skip to content

Instantly share code, notes, and snippets.

@kohsuke
Last active August 29, 2015 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kohsuke/c6d0c1b1c6498e56b249 to your computer and use it in GitHub Desktop.
Save kohsuke/c6d0c1b1c6498e56b249 to your computer and use it in GitHub Desktop.
<j:jelly .... xmlns:local="local">
<d:taglib uri="local">
<d:tag name="radio">
...
${attrs.name}
</d:tag>
</d:taglib>
.... <local:radio name="Foo"/>
</j:jelly>
[
{
displayName: "Job and workflows",
id: "...",
org: [
{
id: "...",
displayName: "Freestyle project",
description: "<p>foo bar <b>zot</b></p>"
},
]
},
{
...
}
]
http://localhost:8080/jenkins/extensionList/hudson.model.TopLevelItemDescriptor/api/json?pretty=true&tree=items[displayName,id,category[id,displayName,ordinal],newInstanceDetailHtml]
{
"items" : [
{
"displayName" : "Freestyle project",
"id" : "hudson.model.FreeStyleProject",
"category" : {
"displayName" : "Job and workflows",
"id" : "Category.JobAndWorkflows",
"ordinal" : 0.0
},
"newInstanceDetailHtml" : "<div>This is the central feature of Jenkins. Jenkins will build your project, combining any SCM with any build system, and this can be even used for something other than software build.</div>"
},
{
"displayName" : "Maven project",
"id" : "hudson.maven.MavenModuleSet",
"category" : {
"displayName" : "Job and workflows",
"id" : "Category.JobAndWorkflows",
"ordinal" : 0.0
},
"newInstanceDetailHtml" : "<div>Build a maven project. Jenkins takes advantage of your POM files and drastically reduces the configuration.</div>"
},
{
"displayName" : "External Job",
"id" : "hudson.model.ExternalJob",
"category" : {
"displayName" : "Job and workflows",
"id" : "Category.JobAndWorkflows",
"ordinal" : 0.0
},
"newInstanceDetailHtml" : "<div>This type of job allows you to record the execution of a process run outside Jenkins, even on a remote machine. This is designed so that you can use Jenkins as a dashboard of your existing automation system. See <a href=\"http://wiki.jenkins-ci.org/display/JENKINS/Monitoring+external+jobs\">the documentation for more details</a>.</div>"
},
{
"displayName" : "Multi-configuration project",
"id" : "hudson.matrix.MatrixProject",
"category" : {
"displayName" : "Job and workflows",
"id" : "Category.JobAndWorkflows",
"ordinal" : 0.0
},
"newInstanceDetailHtml" : "<div>Suitable for projects that need a large number of different configurations, such as testing on multiple environments, platform-specific builds, etc.</div>"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment