Problem
Atlassian Bamboo Remote Agents running on Windows (before Bamboo v6.10) may produce a couple of errors:
-
'chcp' is not recognized as an internal or external command, operable program or batch file.
-
the Return Code -1073741515
If you encounter these symptoms you may need to implement the workaround described below. This Bamboo defect is documented here and the status of the Atlassian fix is described here.
If you need to run the MettleCI dm-ccmigrate-plugin via a Remote agent you will need to use the following workaround
Solution
Follow these steps to work around this Bamboo bug:
-
Configure Bamboo Remote Agent to run as an application user (via Windows Services)
-
Add the following 2 paths to the application user path (not the system path!)
-
%SystemRoot%\system32 -
<DataStage Client Installation Path>\ASBNode\apps\proxy\cpp\vc60\MT_dll\bin
-
If another, similar error code appears (e.g. -1073741819) we recommend you copy the value of the system PATH environment variable and append it to the local user PATH environment variable that is configured to run the Bamboo remote agent service.
Related articles
- Bamboo SFTP Upload Task
- Bamboo Run DataStage Unit Tests Task
- How does the integration/configuration with BitBucket, Jira, and Bamboo work?
- Bamboo Agent produces chcp or -107374 errors
- The MettleCI Bamboo Command Plugin fails with NoSuchMethodError
- How does MettleCI work with HP ALM?
- Bamboo DataStage Capability
- Bamboo SFTP Download Task
- The MettleCI Bamboo Plugin Fails When Compiling a Job
- Bamboo DataStage Message Handlers Task
- Bamboo Connector Migration Task
- Bamboo Import DataStage Asset Task
- Bamboo Agent produces chcp or -107374 errors
- Bamboo Compile DataStage Project Task
- Bamboo DataStage Admin Task