Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jenkinsci/configuration-as-code-groovy-plugin
Extension for Jenkins Configuration-as-Code plugin that allows running Groovy scripts
https://github.com/jenkinsci/configuration-as-code-groovy-plugin
configuration-as-code groovy-scripts jcasc jenkins jenkins-plugin
Last synced: 3 months ago
JSON representation
Extension for Jenkins Configuration-as-Code plugin that allows running Groovy scripts
- Host: GitHub
- URL: https://github.com/jenkinsci/configuration-as-code-groovy-plugin
- Owner: jenkinsci
- Created: 2019-02-20T16:20:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-23T16:22:43.000Z (10 months ago)
- Last Synced: 2024-05-02T15:24:54.030Z (6 months ago)
- Topics: configuration-as-code, groovy-scripts, jcasc, jenkins, jenkins-plugin
- Language: Java
- Homepage: https://plugins.jenkins.io/configuration-as-code-groovy
- Size: 24.4 KB
- Stars: 44
- Watchers: 4
- Forks: 11
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Configuration as Code Plugin - Groovy Scripting Extension
Extension for Jenkins Configuration-as-Code plugin that allows running Groovy scripts
## Run Groovy scripts
Configuration-as-Code can run Groovy scripts.
Groovy scripts can be:
* inline, with entry `script`
* from `url`
* from local file, using `file`### Sample configuration
```yaml
groovy:
- script: >
println("This is Groovy script!");
```### Implementation notes
* It is recommended to use semicolons at the end of lines
* There is no dry run implemented for Groovy scripts feature