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

Binding does not have jenkinsProject and jenkinsBuild properties

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • active-choices-plugin
    • None
    • 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

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

              Created:
              Updated: