mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-20 05:19:40 +02:00
influxWriteData: use org/repo as default prefix (#534)
This commit is contained in:
parent
2817efa2ed
commit
9ebce31fe6
@ -35,7 +35,10 @@ void call(Map parameters = [:]) {
|
|||||||
.mixinStepConfig(script.commonPipelineEnvironment, STEP_CONFIG_KEYS)
|
.mixinStepConfig(script.commonPipelineEnvironment, STEP_CONFIG_KEYS)
|
||||||
.mixinStageConfig(script.commonPipelineEnvironment, parameters.stageName?:env.STAGE_NAME, STEP_CONFIG_KEYS)
|
.mixinStageConfig(script.commonPipelineEnvironment, parameters.stageName?:env.STAGE_NAME, STEP_CONFIG_KEYS)
|
||||||
.mixin([
|
.mixin([
|
||||||
artifactVersion: script.commonPipelineEnvironment.getArtifactVersion()
|
artifactVersion: script.commonPipelineEnvironment.getArtifactVersion(),
|
||||||
|
influxPrefix: script.commonPipelineEnvironment.getGithubOrg() && script.commonPipelineEnvironment.getGithubRepo()
|
||||||
|
? "${script.commonPipelineEnvironment.getGithubOrg()}_${script.commonPipelineEnvironment.getGithubRepo()}"
|
||||||
|
: null
|
||||||
])
|
])
|
||||||
.mixin(parameters, PARAMETER_KEYS)
|
.mixin(parameters, PARAMETER_KEYS)
|
||||||
.addIfNull('customData', script.commonPipelineEnvironment.getInfluxCustomData())
|
.addIfNull('customData', script.commonPipelineEnvironment.getInfluxCustomData())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user