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'));
      

       

          [JENKINS-56327] Allow to pass parameters into groovy script

          There are no comments yet on this issue.

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

              Created:
              Updated: