Closed huehnerlady closed 5 years ago
Hi @huehnerlady, sounds great.
1) Only problem I could imagine, is inadvertently/accidentally picking up unintended properties, from within the email trail. Thoughts?
e.g.
Jenkins, please release this version:
version=1.23-RELEASE
Kind regards, Nick
> Jenkins build completed:
> version=1.23-BETA
> cleanWorkspace=false
2) Also, re: stripping invalid characters, is it enough to restrict to letters, digits, and underscore? (regex => [a-zA-Z_][a-zA-Z0-9_]*
)
Environment variable names used by the utilities in the Shell and Utilities volume of IEEE Std 1003.1-2001 consist solely of uppercase letters, digits, and the '_' (underscore) from the characters defined in Portable Character Set and do not begin with a digit. Other characters may be permitted by an implementation; applications shall tolerate the presence of such names. Uppercase and lowercase letters shall retain their unique identities and shall not be folded together. The name space of environment variable names containing lowercase letters is reserved for applications. Applications can define any environment variables with names from this name space without modifying the behaviour of the standard utilities.
http://pubs.opengroup.org/onlinepubs/000095399/basedefs/xbd_chap08.html
@nickgrealy thanks for your answer. I am not sure if it is that easy as other email programmes do not add anything in front of a reply - therefore you could end up with an email like this anyways:
Jenkins, please release this version:
version=1.23-RELEASE
Kind regards, Nick
Jenkins build completed:
version=1.23-BETA
cleanWorkspace=false
Maybe you could be able to specify a regex the emails are parsed with? But optional thing, not mandatory?
as I moved team I am not using this functionality anymore, and nobody answered me anyways