Active Choices - The variables jenkinsProject and jenkinsBuild are NOT available in pipeline projects

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Hello,

      We recognized that the variables jenkinsProject and jenkinsBuild are not set within a jenkins pipeline project. Which means:

      try {

      def jobName = this.binding.jenkinsProject.name;

      }

      will result in a "property not found: jenkinsProject" exception while working with a pipeline project.

            Assignee:
            Bruno P. Kinoshita
            Reporter:
            Brandon Walsh
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: