default_environment

in libraries/agent.rb [36:49]


      def default_environment
        account_url = ::File.join 'https://dev.azure.com', agent_attrs['account']
        {
          HOME: admin_home,
          VSTS_AGENT_INPUT_AGENT: agent_attrs['agent_name'],
          VSTS_AGENT_INPUT_DEPLOYMENTGROUPNAME: agent_attrs['deployment_group'],
          VSTS_AGENT_INPUT_DEPLOYMENTGROUPTAGS: agent_attrs['deployment_group_tags'],
          VSTS_AGENT_INPUT_POOL: agent_attrs['agent_pool'],
          VSTS_AGENT_INPUT_PROJECTNAME: agent_attrs['project'],
          VSTS_AGENT_INPUT_URL: account_url,
          VSTS_AGENT_INPUT_WORK: agent_attrs['work'],
        }
      end