diff options
author | Wojtek Wajerowicz <115081248+wojciech-wajerowicz-sonarsource@users.noreply.github.com> | 2023-10-11 14:20:13 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-10-20 20:02:39 +0000 |
commit | 4670e9985e7b7bedf952c99a498a3a1c13912dd0 (patch) | |
tree | 6bc0c337fce2667fba8db9d2cf828d4a79b9978d /sonar-core/src | |
parent | da75e87d29efe342fa2761def532f0ea94f71cd1 (diff) | |
download | sonarqube-4670e9985e7b7bedf952c99a498a3a1c13912dd0.tar.gz sonarqube-4670e9985e7b7bedf952c99a498a3a1c13912dd0.zip |
SONAR-20699 Send DevOps platform information for GitHub from the scanner.
Diffstat (limited to 'sonar-core/src')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/ce/CeTaskCharacteristics.java | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/ce/CeTaskCharacteristics.java b/sonar-core/src/main/java/org/sonar/core/ce/CeTaskCharacteristics.java new file mode 100644 index 00000000000..7d3c7b3b2f9 --- /dev/null +++ b/sonar-core/src/main/java/org/sonar/core/ce/CeTaskCharacteristics.java @@ -0,0 +1,32 @@ +/* + * SonarQube + * Copyright (C) 2009-2023 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +package org.sonar.core.ce; + +public class CeTaskCharacteristics { + + public static final String BRANCH = "branch"; + public static final String BRANCH_TYPE = "branchType"; + public static final String PULL_REQUEST = "pullRequest"; + public static final String DEVOPS_PLATFORM_URL = "devOpsPlatformUrl"; + public static final String DEVOPS_PLATFORM_PROJECT_IDENTIFIER = "devOpsPlatformProjectIdentifier"; + + private CeTaskCharacteristics() { + } +} |