IMO, this distracts from the information that I generally want to get from the build log, so I'd like this behaviour to be changed too. However, I understand that this might be helpful for some to know what script is being executed.
I would like to change the plugin to accommodate this change, but I'd like to know what kind of solution would be acceptable.
As I see it, there are a few options:
- Don't log the script at all, just log that the inline Groovy script is being executed.
- Log the first line of the script
- Log the first `n` characters of the script, followed by an ellipsis
- Log the first comment line from the script.
Honestly, I think (1) is the better option, as I don't see much utility in logging the entire script. I'd welcome a response though, and I'll look to put a pull request together for the agreed fix.
IMO, this distracts from the information that I generally want to get from the build log, so I'd like this behaviour to be changed too. However, I understand that this might be helpful for some to know what script is being executed.
I would like to change the plugin to accommodate this change, but I'd like to know what kind of solution would be acceptable.
As I see it, there are a few options:
Honestly, I think (1) is the better option, as I don't see much utility in logging the entire script. I'd welcome a response though, and I'll look to put a pull request together for the agreed fix.