Binding does not have jenkinsProject and jenkinsBuild properties

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: active-choices-plugin
    • None
    • Environment:
      Jenkins: 2.263.1
      Plugin: 2.5.1

      The jenkinsProject and jenkinsBuild properties mentioned in the plugin documentation cannot be accessed from the binding:

       

      return [binding.properties]
      {class=class groovy.lang.Binding, variables={jenkinsParameter=org.biouno.unochoice.ChoiceParameter@11aeb52a}}
      
      return [binding.jenkinsProject]
      null
      return [binding.jenkinsBuild]
      null
      

      Ir works with free style projects but no for pipelines

            Assignee:
            Bruno P. Kinoshita
            Reporter:
            Pablo Espinel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: