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

Allow to pass parameters into groovy script

XMLWordPrintable

       

      It would be nice to define params in yaml and pass it into groovy script.
      Something like

      groovy:
        - params:
            myParam: 'myValue'
        - script: |
            println (this.getProperty('myParam'));
      

       

            szandala Tomasz Szandała
            dburmistrov Dmitry Burmistrov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: