Configuring the temporary storage location used by the agents
By default, project files are stored in the temporary folder for the username who is running the HCL DevOps Test Integrations and APIs Agent (Test Integrations and APIs Agent). In a few scenarios, however, the temporary folders might get cleaned up by automated processes, for example, when a stub stops running. To avoid losing data, you can change the default setting.
About this task
Procedure
-
Open the Agent.config file, which is in the following directory:
- product-installation-directory\config
- product-installation-directory/config
-
In the
<server>
section, uncomment the temporaryFiles element and edit the dir attribute to point to a suitable location.For example:-
<temporaryFiles ="C:\agentTemp" />
-
<temporaryFiles ="/opt/agentTemp" />
-
- Save and close the file.
- Start the agent:
Results
The temporary storage location used by the Test Integrations and APIs Agent is updated.