Comment
script_api:
 - Create workspace
 - Set the same env variables as Jenkins
 - proper tmp dir
 - removed debug print
test framework:
 - option to print env in job