![]() |
|
|
|
|
Change By:
|
Oleg Nenashev
(07/Mar/15 11:10 PM)
|
|
Description:
|
The plugin continuously adds the 'default' axis value even if there's an existing variable in the environment.Dynamic axis source: String parameter.
The issue appears on the particular job only and cannot be reproduced on others. Job reloading does not resolve the issue. Cause
in DynamicAxis::rebuild
(
just a theory, cannot be reproduced on the test server
):
- Race condition in
1. method flushes
the
internal axis values cache 2. method calls build.getEnvironment to get the variable value 3. an external
plugin
(Perforce SCM in my case) calls DynamicAxis.getValues() to resolve variables
-
4.
DynamicAxis
::
.
getValues()
returns an original data container without a copiyng => risk of
adds 'default', because
the
data corruption somewhere
cache is empty
....
X. method adds variables from the variable, but 'default' still exists in the list
System log on 1 config (reverse order): Mar 04, 2015 11:01:38 AM ca.silvermaplesolutions.jenkins.plugins.daxis.DynamicAxis FINE: Returning axis list [default, 1] Mar 04, 2015 11:01:38 AM ca.silvermaplesolutions.jenkins.plugins.daxis.DynamicAxis FINE: Variable value is '1' Mar 04, 2015 11:01:38 AM ca.silvermaplesolutions.jenkins.plugins.daxis.DynamicAxis FINE: Rebuilding axis names from variable 'NUMBER_FILES'
|
|
|
|
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.