JobDsl : Scripts not permitted to use method groovy.lang.GroovyObject

XMLWordPrintable

      When using job dsl with :

      pipelineJob('xxx') {
        triggers { 
          snapshotDependencies()
        }
      }

      I get the following error :

      ERROR: Scripts not permitted to use method groovy.lang.GroovyObject invokeMethod java.lang.String java.lang.Object (javaposse.jobdsl.dsl.helpers.triggers.TriggerContext snapshotDependencies java.lang.Boolean)

      It is recommended to not allow this call in script-approvals.

      Is this something "fixable" ?

      Thanks.

            Assignee:
            Daniel Spilker
            Reporter:
            Thomas CARSUZAN
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: