The current pipeline runtime naming scheme is: "<pipelineName>_<pipelineCounterValue>_<timestamp>.
How to I override this setting for my project? I don't want to affect other users.
Answer by gregm · Oct 04, 2019 at 02:12 PM
The property /server/settings/pipelineNameTemplate controls the naming of pipeline runtimes. Its default setting is
$[/myPipeline]_$[/increment /myPipeline/ec_counters/pipelineCounter]_$[/timestamp yyyyMMddHHmmss]
It you want a custom version of this by project, you can change this value to
$[/javascript (myProject.pipelineNameTemplate)?myProject.pipelineNameTemplate:"$[/myPipeline]_$[/increment /myPipeline/ec_counters/pipelineCounter]_$[/timestamp yyyyMMddHHmmss]"]
Then, if you have project level property pipelineNameTemplate, that value will be used for pipelines in that project.
Answer by fourwaytechnologies · Feb 18, 2020 at 10:40 AM
import "k8s.io/apimachinery/pkg/runtime". Package runtime defines conversions between generic types and structs to map query strings to struct objects.
I Developer in Canada If you want world-leading DevOps Consulting Services to check out our services...
Electric Cloud powers Continuous Delivery, helping organizations developing deliver better software faster by automating and accelerating build, test, and deployment processes at scale. Industry leaders like Qualcomm, SpaceX, Cisco, GE, Gap, and E*TRADE use Electric Cloud solutions to boost DevOps productivity and Agile throughput.