On the same note, anybody have a good *complete* example of the possibility for external part (@NonCPS, function, class, block, stage, steps, ...) for external parts file import/usage? I'm looking for a good do/don't.
Right now I put a file into Jenkins for the install exec path that I import using: my_var = evaluate(new File("${env.JENKINS_HOME}\\custom_scripts.groovy")) my_var is a dictionary that I can access based on the build machine to get the exec install path. But for importing function and having a proper for loop or iterator that actually work from another file, I'm a bit lost for how to do it properly, I managed 1 way but was having a lot of troubles with built-in function and @NonCPS nightmare. Thanks -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8063d424-2ee3-4141-b8c4-c7e2e89a0ce2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.