Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 701 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 701 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" : "Hello World example",
  "comment" : "print some cool <b>stuff</b>",
  "parameters" : [],
  "core": "1.300",
  "authors" : [
    { name : "Joe Bloggs" }
  ]
} END META**/
println("hello world")

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

&> groovy testMetaFormat.groovy