Hey all, Seeking some advise on my question, here: <http://stackoverflow.com/questions/42790966/how-to-call-a-groovy-function-from-a-jenkinsfile> http://stackoverflow.com/questions/42790966/how-to-call-a-groovy-function-from-a-jenkinsfile Essentially, I have a declarative pipeline that I am trying to load a .groovy file and call a function defined in it. The function makes a node call (that uses mustache to replace some placeholder values with actual values and generate a file based on it). This however fails. Even an echo call from the function fails, with "java.lang.NullPointerException: Cannot invoke method generateManifest() on null object". Any tips are more than welcome!
-- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d2164078-9230-4f1c-b876-69c8d4b8f3d3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
