Not exactly sure what you are asking for. API from a plugin? Defining a step? Some other kind of listener?
BTW do not use env.KEY = value Use the `withEnv` step. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr13YjN70CHeBcJzLbN24iyr0tDL1iqUdHLSUrUkLyNyWA%40mail.gmail.com.