
Key: |
QB-3091
|
Type: |
Bug
|
Status: |
Closed
|
Resolution: |
Fixed
|
Priority: |
Major
|
Assignee: |
Robin Shen
|
Reporter: |
Gouss
|
Votes: |
4
|
Watchers: |
0
|
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
Created: 06/Dec/17 04:18 PM
Updated: 24/Feb/18 03:22 AM
|
|
Component/s: |
None
|
Affects Version/s: |
7.0.29
|
Fix Version/s: |
8.0.0
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
1- check node attribute
2- execute here after code
3- check the node attribute again
RESULT: attribute values are not up to date.
code:
groovy:
import java.util.Map;
import com.pmease.quickbuild.Context;
import com.pmease.quickbuild.Quickbuild;
import com.pmease.quickbuild.grid.GridNode;
Map<String, String> userAttributes = node.getUserAttributes();
userAttributes.put("paf", "puf");
for (String key: userAttributes.keySet())
Context.getLogger().info(key);
node.setUserAttributes(userAttributes, true);
|
Description
|
1- check node attribute
2- execute here after code
3- check the node attribute again
RESULT: attribute values are not up to date.
code:
groovy:
import java.util.Map;
import com.pmease.quickbuild.Context;
import com.pmease.quickbuild.Quickbuild;
import com.pmease.quickbuild.grid.GridNode;
Map<String, String> userAttributes = node.getUserAttributes();
userAttributes.put("paf", "puf");
for (String key: userAttributes.keySet())
Context.getLogger().info(key);
node.setUserAttributes(userAttributes, true);
|
Show » |
There are no comments yet on this issue.
|
|