Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 704 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 704 Bytes

Scriptler scripts

Groovy scripts in this directory are made available via the Scriptler catalog to be published at jenkins-ci.org.

In order for a script to be included in the catalog, metadata describing it must be included in its file, like the below:

/*** BEGIN META {
  "name" : "Clear build queue",
  "comment" : "print some cool <b>stuff</b>",
  "parameters" : [],
  "core": "1.300",
  "authors" : [
    { name : "Niels Harremoes" }
  ]
} END META**/
println("hello world")

To validate the format of the META information, please run the provided script:

&> groovy testMetaFormat.groovy