puppet-jenkins
puppet-jenkins copied to clipboard
jenkins_exec type
jenkins_exec{ 'job-dsl security':
script => @(END)
import jenkins.model.*
def j = Jenkins.getInstance()
def jobDsl = j.getDescriptor("javaposse.jobdsl.plugin.GlobalJobDslSecurityConfiguration")
jobDsl.setUseScriptSecurity(false)
END
}
@rtyler I've been sitting on this for over a year as I never got around to writing [better] acceptance tests. However, it seems to be in a working state.
Is this likely to be merged soon? It's exactly what I need and I had already started writing something similar.
@joshuaspence I got it as far as basic functionality but haven't had time to sort out the tests.
Instead of jenkins_exec, maybe jenkins_script or jenkins_groovy?
The provider started out as a cut'n'paste of an exec provider from core puppet and the semantics of the type are intended to be essentially the same.
Dear @jhoblitt, thanks for the PR!
This is Vox Pupuli Tasks, your friendly Vox Pupuli Github Bot. I noticed that your pull request has CI failures. Can you please have a look at the failing CI jobs? If you need any help, you can reach out to us on our IRC channel voxpupuli on Freenode or our Slack channel voxpupuli at slack.puppet.com. You can find my sourcecode at voxpupuli/vox-pupuli-tasks
@jhoblitt any plans to revisit this?
@ekohl Nope.