aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src
diff options
context:
space:
mode:
authorWojtek Wajerowicz <115081248+wojciech-wajerowicz-sonarsource@users.noreply.github.com>2023-10-11 14:20:13 +0200
committersonartech <sonartech@sonarsource.com>2023-10-20 20:02:39 +0000
commit4670e9985e7b7bedf952c99a498a3a1c13912dd0 (patch)
tree6bc0c337fce2667fba8db9d2cf828d4a79b9978d /sonar-core/src
parentda75e87d29efe342fa2761def532f0ea94f71cd1 (diff)
downloadsonarqube-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.java32
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() {
+ }
+}