|
||||||||
|
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Can somebody help me out...
I am using :
def matcher = manager.getLogMatcher("ServerName=(.*)")
if(matcher != null) { servername = matcher.group(1) manager.addShortText("$servername") def map = ["Sony": "hello"] return map }
And the console output is:
C:\Users+++++++++\.jenkins\jobs\servernamepoc\workspace>powershell d:\scripts\servername.ps1
ServerName=hahaha
C:\Users++++++++\.jenkins\jobs\servernamepoc\workspace>exit 0
[EnvInject] - Injecting environment variables from a build step.
Finished: SUCCESS
However on checking the respective job's environment variables - it doesn't shows up...
Any help is appreciated.