Skip to content

Commit b395da0

Browse files
authored
Merge pull request #39 from ibnc/scm_docs
Adding scm definition docs to README
2 parents 1d64bc8 + a34baaf commit b395da0

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

README.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ and also [official JSONs in pipeline configuration API](https://api.gocd.org/cur
193193
* [perforce](#perforce)
194194
* [tfs](#tfs)
195195
* [hg](#hg)
196-
* [pluggable scm](#pluggable)
196+
* [pluggable scm](#pluggable-scm)
197197
* [configrepo](#configrepo)
198198

199199
# Environment
@@ -695,6 +695,33 @@ which usually makes more sense considering that value is stored in SCM.
695695
}
696696
```
697697

698+
Since GoCD `>= 19.2.0` defining new pluggable materials that are not defined
699+
in the GoCD server is supported.
700+
701+
```json
702+
{
703+
"plugin_configuration": {
704+
"id": "plugin_id",
705+
"version": "1"
706+
},
707+
"configuration": [
708+
{
709+
"key": "url",
710+
"value": "[email protected]:tomzo/gocd-json-config-plugin.git"
711+
}
712+
],
713+
"destination": "destinationDir",
714+
"filter": {
715+
"ignore": [
716+
"dir1",
717+
"dir2"
718+
]
719+
},
720+
"name": "myPluggableGit",
721+
"type": "plugin"
722+
}
723+
```
724+
698725
## Configrepo
699726

700727
This is a convenience for shorter and more consistent material declaration.

0 commit comments

Comments
 (0)