File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ Supports:
6868 * [ TeamCity] ( https://www.jetbrains.com/help/teamcity/predefined-build-parameters.html#PredefinedBuildParameters-ServerBuildProperties )
6969 * [ MyGet] ( https://docs.myget.org/docs/reference/build-services#Available_Environment_Variables )
7070 * [ GitLab] ( https://docs.gitlab.com/ee/ci/variables/predefined_variables.html )
71+ * [ Bamboo] ( https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html )
7172
7273
7374## Disable for a machine/process
Original file line number Diff line number Diff line change @@ -66,6 +66,15 @@ static BuildServerDetector()
6666 Detected = true ;
6767 return ;
6868 }
69+
70+ // Bamboo
71+ // https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html
72+ // Variable name is 'bamboo.buildKey' but must be referenced with an underscore
73+ if ( Environment . GetEnvironmentVariable ( "bamboo_buildKey" ) != null )
74+ {
75+ Detected = true ;
76+ return ;
77+ }
6978 }
7079
7180 public static bool Detected { get ; set ; }
You can’t perform that action at this time.
0 commit comments