https://github.com/kvendingoldo/udc-jobdsl
https://github.com/kvendingoldo/udc-jobdsl
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kvendingoldo/udc-jobdsl
- Owner: kvendingoldo
- Created: 2018-09-24T19:25:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-22T18:42:57.000Z (over 6 years ago)
- Last Synced: 2025-02-07T13:26:05.787Z (4 months ago)
- Language: Groovy
- Size: 341 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# udc-jobdsl
For using this framework you should disable jobDSL script security. For this you can use the snippet:
```
import javaposse.jobdsl.plugin.GlobalJobDslSecurityConfiguration
import jenkins.model.GlobalConfiguration
println "--> disabling scripts security for jobDSL scripts"
GlobalConfiguration.all().get(GlobalJobDslSecurityConfiguration.class).useScriptSecurity=false
```Also, you can add this script to init.groovy.d script for automatization