Skip to content

Instantly share code, notes, and snippets.

@olegch
Last active August 29, 2015 13:56
Show Gist options
  • Save olegch/8970383 to your computer and use it in GitHub Desktop.
Save olegch/8970383 to your computer and use it in GitHub Desktop.
running a groovy subscript from a groovy script
// parse script by file name dynamically
new GroovyShell(binding).parse(new File("${context.serviceDirectory}/test_script.groovy")).run()
// run script statically linking
new test_script(binding).run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment