![]() |
|
|
Issue Type:
|
Bug
|
Assignee:
|
Rob Petti
|
Components:
|
perforce-plugin |
Created:
|
17/Feb/15 8:42 PM
|
Description:
|
After recently upgrading from 1.3.27 to 1.3.33, job polling appears to be failing with unresolved macro issues trying to poll when using perforce plugin in conjunction with Environment Injector plugin.
I have a global password in the global config. In the job config, I have that variable name, let's say MY_P4PASSWD, set in the field for the perforce password. Also in the job config I have the "Inject passwords to the build as environment variables" and the "Global passwords" box checked under that.
The variable is correctly resolved during the checkout, however no longer resolves during polling or during labeling. It all worked fine in 1.3.27. Also I reverted plugin version and tested that it wasn't any other variable in configuration.
Snippet of stack trace from polling:
FATAL: <${MY_P4PASSWD}>: Found unresolved macro at '${MY_P4PASSWD}'
hudson.plugins.perforce.utils.ParameterSubstitutionException: <${MY_P4PASSWD}>: Found unresolved macro at '${MY_P4PASSWD}'
at hudson.plugins.perforce.utils.MacroStringHelper.checkString(MacroStringHelper.java:154)
at hudson.plugins.perforce.utils.MacroStringHelper.substituteParameters(MacroStringHelper.java:102)
at hudson.plugins.perforce.PerforceSCM.getDecryptedP4Passwd(PerforceSCM.java:2700)
at hudson.plugins.perforce.PerforceSCM.getDepot(PerforceSCM.java:487)
at hudson.plugins.perforce.PerforceSCM.compareRemoteRevisionWith(PerforceSCM.java:1310)
at hudson.scm.SCM.poll(SCM.java:401)
|
Environment:
|
Jenkins 1.580.3
perforce plugin 1.3.33
Environment Injector (EnvInject) plugin 1.90
|
Project:
|
Jenkins
|
Priority:
|
Major
|
Reporter:
|
Caleb Mayeux
|
|
|
|
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/d/optout.