go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/cli/execruntime/env_teamcity.go (about)

     1  // Copyright (c) Mondoo, Inc.
     2  // SPDX-License-Identifier: BUSL-1.1
     3  
     4  package execruntime
     5  
     6  const TEAMCITY = "teamcity"
     7  
     8  // see https://www.jetbrains.com/help/teamcity/predefined-build-parameters.html#Predefined+Server+Build+Parameters
     9  var teamcityEnv = &RuntimeEnv{
    10  	Id:        TEAMCITY,
    11  	Name:      "TeamCity",
    12  	Prefix:    "TEAMCITY",
    13  	Namespace: "jetbrains.com",
    14  	Identify: []Variable{
    15  		{
    16  			Name: "TEAMCITY_PROJECT_NAME",
    17  			Desc: "The name of the project the current build belongs to.",
    18  		},
    19  	},
    20  	Variables: []Variable{
    21  		{
    22  			Name: "TEAMCITY_PROJECT_NAME",
    23  			Desc: "The name of the project the current build belongs to.",
    24  		},
    25  		{
    26  			Name: "BUILD_NUMBER",
    27  			Desc: "The build number assigned to the build by TeamCity.",
    28  		},
    29  	},
    30  }