Answers: <p>The issue was with one of the options present in global security configuration “ Enable script security for job DSL scripts”, which needs to be unchecked.</p>
  
Answers: CC BY-SA 4.0
Answers: 2019-12-18T09:11:59.487Z
Answers: 2019-12-18T09:11:59.487Z
Answers: arielma
Body: <p>I have Jenkins container (version 2.138.1) with a pipeline which uses the plugins:</p>
  
  <p>Job DSL version 1.7.0</p>
  
  <p>Repository Connector version 1.1.3</p>
  
  <p>P4 version 1.8.14</p>
  
  <p>it fails with the below error:</p>
  
  <pre><code>11:23:17 ERROR: (int_dbp_ci.groovy, line 7) No such property: IntDBCIProperties for class: int_dbp_ci
  </code></pre>
  
  <p>what's strange, in the same machine, in other Jenkins container, for the same job with the same exact syntax and plugins version, it works. any idea what might cause the issue?</p>
  
Comments: CC BY-SA 4.0
Comments: 2019-12-16T15:42:48.797Z
Comments: It's hard to guess what might be wrong without a reproducible example of the pipeline. https://stackoverflow.com/help/minimal-reproducible-example
Comments: tftd
Tags: <jenkins-pipeline><jenkins-plugins>
Title: Jenkins pipeline fails with No such property error
UserDisplayName: arielma
ThreadText: # Jenkins pipeline fails with No such property error
  
  (Asked by: username_0 on 2019-12-16)
  
  I have Jenkins container (version 2.138.1) with a pipeline which uses the plugins:
  
  Job DSL version 1.7.0
  
  Repository Connector version 1.1.3
  
  P4 version 1.8.14
  
  it fails with the below error:
  
  ```
  11:23:17 ERROR: (int_dbp_ci.groovy, line 7) No such property: IntDBCIProperties for class: int_dbp_ci
  
  ```
  
  what's strange, in the same machine, in other Jenkins container, for the same job with the same exact syntax and plugins version, it works. any idea what might cause the issue?
  
  **Tags:** jenkins-pipeline, jenkins-plugins
  
  > **Comments:**
  > **username_1**: It's hard to guess what might be wrong without a reproducible example of the pipeline. https://stackoverflow.com/help/minimal-reproducible-example  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2019-12-18. Score: 1 | Accepted answer
  
  The issue was with one of the options present in global security configuration “ Enable script security for job DSL scripts”, which needs to be unchecked.
  
  
  ---
  
  