puppet-jenkins icon indicating copy to clipboard operation
puppet-jenkins copied to clipboard

jenkins_exec type

Open jhoblitt opened this issue 8 years ago • 6 comments

  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
  }

jhoblitt avatar Aug 16 '17 22:08 jhoblitt

@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.

jhoblitt avatar Aug 16 '17 22:08 jhoblitt

Is this likely to be merged soon? It's exactly what I need and I had already started writing something similar.

joshuaspence avatar Oct 05 '17 12:10 joshuaspence

@joshuaspence I got it as far as basic functionality but haven't had time to sort out the tests.

jhoblitt avatar Nov 30 '17 21:11 jhoblitt

Instead of jenkins_exec, maybe jenkins_script or jenkins_groovy?

esalberg avatar Feb 20 '18 17:02 esalberg

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.

jhoblitt avatar Feb 20 '18 17:02 jhoblitt

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

vox-pupuli-tasks[bot] avatar May 01 '20 11:05 vox-pupuli-tasks[bot]

@jhoblitt any plans to revisit this?

ekohl avatar Sep 16 '22 21:09 ekohl

@ekohl Nope.

jhoblitt avatar Sep 16 '22 22:09 jhoblitt