-
Notifications
You must be signed in to change notification settings - Fork 333
Expand file tree
/
Copy pathConstants.java
More file actions
35 lines (28 loc) · 1.19 KB
/
Constants.java
File metadata and controls
35 lines (28 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package datadog.trace.civisibility;
/** Constants that are not part of the internal (or external) API. */
public interface Constants {
/**
* Indicates that early flakiness detection feature was aborted in a test session because too many
* test cases were considered new.
*/
String EFD_ABORT_REASON_FAULTY = "faulty";
String CI_VISIBILITY_INSTRUMENTATION_NAME = "civisibility";
/**
* Env var containing SHA of the feature branch HEAD commit when running in a PR. Set manually if
* the necessary data is not exposed by the CI provider
*/
String DDCI_PULL_REQUEST_SOURCE_SHA = "DDCI_PULL_REQUEST_SOURCE_SHA";
/**
* Env var containing SHA of the target branch HEAD commit when running in a PR. Set manually if
* the necessary data is not exposed by the CI provider
*/
String DDCI_PULL_REQUEST_TARGET_SHA = "DDCI_PULL_REQUEST_TARGET_SHA";
/**
* Env var containing the DDCI mode used. When the legacy mode is used,
* DDCI_PULL_REQUEST_TARGET_SHA won't contain the expected value, but the previous base on the
* push event.
*/
String DDCI_REQUEST_KIND = "DDCI_REQUEST_KIND";
// Legacy mode identifier
String DDCI_LEGACY_KIND = "REQUEST_KIND_LEGACY_REQUEST";
}