Create a nonCPS() wrapper to simplify nonCPS invocations

XMLWordPrintable

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: workflow-cps-plugin
    • None

      Currently any Pipeline developer needs to create a new method and to mark it as NonCPS in order to define a NonCPS code. It would be great to create a new NonCPS wrapper method, which allows writing code just within closure.

      Example:

      nonCPS.exec() {
          Object fooBar = // non serializable object
          fooBar.doSomething()
      }
      

            Assignee:
            Oleg Nenashev
            Reporter:
            Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: