Modify the "set CI=true" to "set.default.CI=true" for bamboo agent env in wrapper configuration

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 12.0.0, 11.0.8, 10.2.10
    • Affects Version/s: 10.1.0, 10.2.0
    • Component/s: Agents
    • None
    • Severity 2 - Major

      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

            Assignee:
            Alexey Chystoprudov
            Reporter:
            Jyothi Charupalli
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: