Sorry to bring this up again, but I am just curious:
Sverre wrote (a) „Both these methods [(checkUpstream and checkDownstream)]
make[s] a call to releaseUtility.getReleaseBranch.” and (b) that both are
annotated with “@NonCPS” and (c) that the latter
(releaseUtility.getReleaseBranch) is defined in “vars/releaseUtility.groovy“
And he also asks “I guess then getReleaseBranch needs to also be annotated with
NonCPS.”
@Devin:
* Is annotating getReleaseBranch() with @NonCPS in
“vars/releaseUtility.groovy“ section (1) allowed and (2) therefore the best
solution?
* Or is getReleaseBranch()in “vars/releaseUtility.groovy“ section actually
a proper pipeline step and so annotating with @NonCPS actually wrong, and so
@NonCPS must also be removed from checkUpstream and checkDownstream as you
suggested?
Thanks,
Reinhold
--
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/DB8PR01MB6156A8F569E89602288F1547F7DC0%40DB8PR01MB6156.eurprd01.prod.exchangelabs.com.