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

Generator parameters not replaced in *system* groovy scripts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • jobgenerator-plugin
    • None

      Using the groovy script plugin, I can refer to generator parameters in the script using a macro notation eg:
      def aGeneratorParam = "$aGeneratorParam"

      In system groovy scripts, this does not work, and there's no way to access the generator parameters.

      (I could use environment variable injection to save the generator parameters into the jobs environment, but that's not nice)

            Unassigned Unassigned
            timor_raiman Timor Raiman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: