jenkins-job-builder/tests/properties/fixtures/inject004.plugins_info.yaml
Arne Luehrs 8f1ade81ce Enable groovy sandbox for properties-inject
The groovy-plugin has introduced with it's 2.0 release on April 10th 2017
the notion of SecureGroovyScript with the associated sandbox for groovy code
To enable JJB jobs relying on the sandbox groovy execution we need to enable
the expected SecureGroovyScript XML stanza.

When used with the groovy 2.0 plugin this will
enable the following JJB YAML stanza

  properties:
    - inject:
        groovy-content: test groovy-content location 004
        groovy-sandbox: true

Needed for groovy code sandbox mode

This implementation is the same as the wrapper implementation in
jenkins_jobs/modules/wrappers.py L949- L989

Change-Id: I93e890a7a0496520246532adbdfd84e3be746abf
2018-09-17 22:33:48 +02:00

4 lines
60 B
YAML

- longName: 'Groovy'
shortName: 'groovy'
version: "2.0"