mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
feat(Splunk): Use repository and organization from pipelineEnv variable git/* (#4619)
This commit is contained in:
parent
7ab2386337
commit
a50fad3b1a
@ -123,8 +123,8 @@ func (s *Splunk) prepareTelemetry(telemetryData telemetry.Data) MonitoringData {
|
||||
CorrelationID: s.correlationID,
|
||||
CommitHash: readCommonPipelineEnvironment("git/headCommitId"),
|
||||
Branch: readCommonPipelineEnvironment("git/branch"),
|
||||
GitOwner: readCommonPipelineEnvironment("github/owner"),
|
||||
GitRepository: readCommonPipelineEnvironment("github/repository"),
|
||||
GitOwner: readCommonPipelineEnvironment("git/organization"),
|
||||
GitRepository: readCommonPipelineEnvironment("git/repository"),
|
||||
}
|
||||
monitoringJson, err := json.Marshal(monitoringData)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user