No, all my functions are directly called from "steps", in a declarative
pipeline
On Fri, Dec 18, 2020 at 5:59 AM Stuart Rowe wrote:
> Any chance this is being called from a @NonCPS method? I've seen similar
> behaviour in that case.
> On Monday, 14 December 2020 at 14:37:55 UTC-8 yannick...@gmai
Any chance this is being called from a @NonCPS method? I've seen similar
behaviour in that case.
On Monday, 14 December 2020 at 14:37:55 UTC-8 yannick...@gmail.com wrote:
> Hi,
>
> In a shared library, in a groovy script in /vars, the following code is
> working perfectly:
>
> String call(String
Hi,
In a shared library, in a groovy script in /vars, the following code is
working perfectly:
String call(String stageName) {
String cowMsg = libraryResource 'cow.txt'
if (cowMsg != null) {
def vars = [:]
vars['MESSAGE'] = "BEGIN STAGE: ${stageName}"
def engine = new StreamingTe