Mike Dubman commented on Improvement JENKINS-21228

Thanks you for quick reply.
The problem with setting $DEFAULT_PRESEND_SCRIPT is that it accepts "string script" only. having a way to load script from file is more friendly for admin who can "vi" and change behave, w/o changing jenkins config.
What type of security hole do you mean? The job config is a privilege operation and available for sys-adm type users.

btw, the reason I wish to have it, is to be able fetch console log from failed slaves and attach it to the email. Currently, we do it as part of post-build action script on every slave, which "wget"`s console into file which is then picked by pre-send script from parent job.

Do you see more elegant way to do it from pre-send script only?

Thanks!!!

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