Mike Dubman commented on Improvement JENKINS-21228

>>What do you mean it accepts "string script" only
I cannot specify the /path/to/external/script.groovy in the "pre-send textfield" as it expects groovy script to feed into evaluate()
So, current workaround is to create GroovyShell object and call its "evaluate(new File("/path/to/external/script.groovy"))
But, this work-around leads to a lot of code-copy (the external groovy script will not inherit msg,cancel, build objects which should be populated into new groovyshell object).

>>I would need more information as to why you can't just the attach build log feature to attach the log from the build slave.
I did not find a way to extract slave console log from file system and use wget. When email-ext is configured to run from parent, there is no easy way to fetch console logs from slave (AFAIK)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to