Issue Summary
Through this FR https://jira.atlassian.com/browse/BAM-20994, set.CI=true property was added to wrapper.conf file of bamboo agent environment.
Because of this, we cannot modify this parameter to false in the environment variables for elastic agents.
The wrapper forcibly sets CI=true for the agent Java process, regardless of what is set in the systemd unit file or the shell environment.
Steps to Reproduce
N/A
Expected Results
wrapper.conf file should be distributed with the property set.default.CI=true instead of set.CI=true allows overriding the variable through environment variables as per the Environment Variable Definition
Actual Results
Not able to override this property in wrapper.conf for Elastic agents through environment variables "Environment=CI=" defined in systemd bamboo agent service.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available