Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47560

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.

            daspilker Daniel Spilker
            tetradeus Thomas CARSUZAN
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: