Skip to content

Instantly share code, notes, and snippets.

@hughsaunders
Created December 7, 2018 15:45
Show Gist options
  • Save hughsaunders/4964a582e619ce44f7bee00197542623 to your computer and use it in GitHub Desktop.
Save hughsaunders/4964a582e619ce44f7bee00197542623 to your computer and use it in GitHub Desktop.
Started by user Hugh Saunders
Running in Durability level: PERFORMANCE_OPTIMIZED
[Pipeline] echo
before
[Pipeline] echo
I'm the CPS function
[Pipeline] End of Pipeline
Finished: SUCCESS
def cpsFunc(){
print("I'm the CPS function")
}
@NonCPS
def nonCPSFunc(){
print("before")
cpsFunc()
print("after")
}
nonCPSFunc()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment