groovy.lang.MissingPropertyException: No such property: jenkins for class: job

Stack Overflow | user6136315 | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    No such property for Jenkins while running groovy script from command line

    Stack Overflow | 8 months ago | user6136315
    groovy.lang.MissingPropertyException: No such property: jenkins for class: job

    Root Cause Analysis

    1. groovy.lang.MissingPropertyException

      No such property: jenkins for class: job

      at job.run()
    2. Unknown
      job.run
      1. job.run(job.groovy:2)
      1 frame