This article describes how to disable Change Tracking [Feature released in 5.3] on XML imported projects to improve system performance.
The information in this KB article ONLY applies to imported/exported XML files. |
For more information on Change Tracking, please consult the CloudBees CD (CloudBees Flow) documentation.
Solution
Version 6.0 and up
Run the ectool export command with the disableProjectTracking flag set to 1
ectool export /path/to/file.xml –-disableProjectTracking 1 –-path /projects/projectName
This will create an XML file of the project with CT disabled.
Older versions
When importing projects from an older version of ElectricCommander, CT is enabled by default.
In versions 5.x and older of ElectricCommander, the disableProjectTracking flag is not available. If you wish to import an XML from an older version of ElectricCommander to CloudBees CD (CloudBees Flow) v6.0+ with CT disabled, use the following steps:
-
Export an XML file from ElectricCommander.
-
ectool export /path/to/file.xml ---path /projects/projectName
-
-
Open the XML export file in a text editor.
-
Under
<project>
, find the first occurrence of the lines-
<owner></owner>
-
<acl>
-
-
Insert the line
-
<tracked>0</tracked>
-
Between <owner></owner>
and <acl>
like this:
Run the ectool export command with the disableProjectTracking flag set to 1
<project> <projectId>a93dae50-9c74-11e6-8669-e46520524153</projectId> <projectName>Hello Project</projectName> <createTime>2016-10-27T18:39:13.825Z</createTime> <lastModifiedBy>admin</lastModifiedBy> <modifyTime>2016-10-27T18:39:13.825Z</modifyTime> <owner>admin</owner> <tracked>0</tracked> <acl> <aclId>a93dae51-9c74-11e6-8669-e46520524153</aclId> <inheriting>1</inheriting> ...
-
Save the edited XML file.
-
Import the edited XML file.
ectool import /path/to/file.xml
By adding this line, CT will be disabled when importing the file to CloudBees CD (CloudBees Flow) v6.0+. If this line is absent, then CT will automatically be enabled.