KBEA-Error Code EC2137

Article ID:360033191791
1 minute readKnowledge base

Summary

An agent created a temporary file but was unable to delete it.

Description

Agents sometimes creates temporary files, often as response files containing command line arguments. This warning triggers when an agent fails to delete such a file.

Reasons

Probably something changed between the time when the agent created the temporary file and the time that same agent tried to delete it. For example, a build step may have altered the permissions of the file or its containing directory.

Fixes

If filesystem permissions changed, either eliminate that change or find a different place to locate the temporary file. If the temporary file must be relocated but its location is not under user control, then contact product support.

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.